You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "S. Wong" <sw...@webprincess-designs.com> on 2002/05/01 07:13:18 UTC
Re: Restricting access with a .htaccess file.
I guess you could try the similar rewrite rules that blocks inline images.
Though I think mod_rewrite does Forbidden instead ... just do an ErrorDocument
for that and catch it there.
Octavian Rasnita wrote:
> Hi all,
>
> Do you know how to allow the page visitors to view only the html shtml htm
> files from a folder but for the other files to receive a 403 error?
>
> Thank you!
>
> Teddy,
> orasnita@home.ro
>
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org
--
Ciao ?:-)
Shirlyn, the WebPrincess
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org