httpd-users mailing list archives

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

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


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message