Posted By

bpj1966 on 06/01/08


Tagged

textmate htaccess textpattern


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

heinz1959
harrydeluxe


TextPattern .htaccess


 / Published in: Apache
 

  1. #TextPattern
  2. #DirectoryIndex index.php index.html
  3. #Options +FollowSymLinks
  4. #Options -Indexes
  5. <IfModule mod_rewrite.c>
  6. RewriteEngine On
  7. #RewriteBase /relative/web/path/
  8. RewriteCond %{REQUEST_FILENAME} -f [OR]
  9. RewriteCond %{REQUEST_FILENAME} -d
  10. RewriteRule ^(.+) - [PT,L]
  11. RewriteRule ^(.*) index.php
  12. RewriteCond %{HTTP:Authorization} !^$
  13. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
  14. </IfModule>
  15. #php_value register_globals 0

Report this snippet  

You need to login to post a comment.