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