ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: punbb



Извините, затупил

<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>

Большинство комментов вырезал за
ненадобностью.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,223140,223220#msg-223220

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru

  • References:

 




Copyright © Lexa Software, 1996-2009.