Posted By

hotdiggity on 06/03/10


Tagged

modrewrite httpd passwd


Versions (?)

mod_rewrite and httpd passwd protected directory


 / Published in: Apache
 

URL: http://forum.modrewrite.com/viewtopic.php?t=3063&highlight=authtype+basic+rewriteengine

Untested

  1. Options +FollowSymLinks
  2.  
  3. RewriteEngine On
  4.  
  5. RewriteCond %{SCRIPT_FILENAME} !-f
  6. RewriteCond %{SCRIPT_FILENAME} !-d
  7. RewriteCond %{REQUEST_URI} !^/beheer(/.*)?$ [NC]
  8. RewriteRule .* rewrite?%{REQUEST_URI} [L]

Report this snippet  

You need to login to post a comment.