punbb
Aleksandr Sytar
sytar.alex ÎÁ gmail.com
ðÔ íÁÒ 2 06:29:32 UTC 2012
2 ÍÁÒÔÁ 2012šÇ. 4:04 ÐÏÌØÚÏ×ÁÔÅÌØ Ar3s <nginx-forum ÎÁ nginx.us> ÎÁÐÉÓÁÌ:
> éÚ×ÉÎÉÔÅ, ÚÁÔÕÐÉÌ
>
> <IfModule mod_rewrite.c>
> š š š š# MultiViews interfers with proper rewriting
> š š š šOptions -MultiViews
>
> š š š šRewriteEngine On
>
> š š š š# Uncomment and properly set the RewriteBase if the rewrite rules are
> not working properly
> š š š š#RewriteBase /
>
> š š š šRewriteCond %{REQUEST_FILENAME} !-f
> š š š šRewriteCond %{REQUEST_FILENAME} !-d
> š š š šRewriteRule . rewrite.php [L]
> </IfModule>
>
> <IfModule mod_setenvif.c>
> š š š š<IfModule mod_headers.c>
> š š š šBrowserMatch MSIE ie
> š š š šHeader set X-UA-Compatible "IE=Edge,chrome=1" env=ie
> š š š š</IfModule>
> </IfModule>
>
> <IfModule mod_headers.c>
> š š š š# Because X-UA-Compatible isn't sent to non-IE (to save header bytes),
> š š š š# We need to inform proxies that content changes based on UA
> š š š šHeader append Vary User-Agent
> š š š š# Cache control is set only if mod_headers is enabled, so that's
> unncessary to declare
> </IfModule>
>
> AddDefaultCharset utf-8
> AddCharset utf-8 .html .css .js .xml .json .rss
>
> <IfModule mod_autoindex.c>
> š šOptions -Indexes
> </IfModule>
>
> âÏÌØÛÉÎÓÔ×Ï ËÏÍÍÅÎÔÏ× ×ÙÒÅÚÁÌ ÚÁ
> ÎÅÎÁÄÏÂÎÏÓÔØÀ.
>
þÅÍ ÜÔÏ http://punbb.informer.com/forums/post/138914/#p138914 ÒÅÛÅÎÉÅ
×ÁÍ ÎÅ ÐÏÄÈÏÄÉÔ?
ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ nginx-ru