Welcome! Log In Create A New Profile

Advanced

memcached Content-Type

June 11, 2010 06:41AM
Добрый день.

nginx/0.6.39 rhel5

Есть нжинкс и мемкеш
В мемкеше лежит главная
При выдаче страницы из мемкеша дописываю
add_header Content-Type "text/html; charset=windows-1251";

В итоге клиенту возвращается
Запрос HTTP послан, ожидается ответ...
HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Fri, 11 Jun 2010 10:36:45 GMT
[b]Content-Type: application/octet-stream[/b]
Content-Length: 63100
Connection: keep-alive
Keep-Alive: timeout=15
[b]Content-Type: text/html; charset=windows-1251[/b]

Как сделать чтобы запись Content-Type была одна?

[b]Content-Type: application/octet-stream[/b] - это я так понял берется из [b]default_type[/b]..
Subject Author Posted

memcached Content-Type

Sergey Skipidarov June 11, 2010 06:41AM

Re: memcached Content-Type

Igor Sysoev June 11, 2010 06:58AM

Re: memcached Content-Type

Sergey Skipidarov June 11, 2010 07:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 321
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready