Canadian Mac Forums at ehMac banner
1 - 2 of 2 Posts

·
Registered
Joined
·
570 Posts
Discussion Starter · #1 ·
Is it possible to deny directory access while using built in Web Sharing in Panther?

Meaning if I had a URL like /~ajoh/movie/mypetdog.mpeg Is it possible to deny access to the /~ajoh/movie/ part of the URL? So if someone were to cute the mypetdog.mpeg section out they would not be able to browse the directory.

Hope that makes sense.
 

·
Premium Member
Joined
·
17,987 Posts
Motoyen,

Since the built-in Web Sharing is performed by Apache, this should be easily accomplished with an .htaccess file (which could either restrict access altogether, provide a custom error page, or require a username/password to aquire a directory listing).

Info:

http://httpd.apache.org/docs/howto/htaccess.html

:cool:
M
 
1 - 2 of 2 Posts
Top