Created
October 4, 2012 04:05
-
-
Save gotoplanb/3831401 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DirectoryIndex index.php index.html | |
#Options +FollowSymLinks | |
#Options -Indexes | |
#ErrorDocument 403 default | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /news/ | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^(.+) - [PT,L] | |
RewriteCond %{REQUEST_URI} !=/favicon.ico | |
RewriteRule ^(.*) index.php | |
RewriteCond %{HTTP:Authorization} !^$ | |
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] | |
</IfModule> | |
#php_value register_globals 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment