httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim" <>
Subject [users@httpd] Mod rewrite question
Date Tue, 15 Apr 2003 09:53:56 GMT

i'm running under windows 2K, and Apache 2. in my httpd.conf, in my root <Directory>
i'm using this:
  RewriteEngine on
  RewriteRule ^(.*).html$ 404.html [QSA,L]

i don't want anyone to view the html pages. this works fine exept when i try to put it in
an .htaccess
if i do this, the directory becomes inaccessable. what am i doing wrong?

any help would be grand

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message