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 mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru