Forum Moderators: phranque

Message Too Old, No Replies

Public Directory in an otherwise private Website

Public Directory in an otherwise private Website

         

JohnnyEng

3:28 pm on Jul 21, 2004 (gmt 0)

10+ Year Member



Hello there, I was wondering if anyone has any idea how to make a public directory within a private website. In other words, the entire website needs to be password protected (.htaccess) except for a single directory.

Any help or advice would be very appreciated.
Thank you. :^)

JohnnyEng

bill

8:24 am on Jul 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld JohnnyEng

What type of server are we talking about here?

JohnnyEng

2:20 pm on Jul 22, 2004 (gmt 0)

10+ Year Member



Thanks much for the reply and the welcome Bill. :^)
The server in question is a Redhat 9 box running Apache 2.0.49

JohnnyEng

hannamyluv

4:27 pm on Jul 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'd make two top level directories, one for the public and the other for the private directories and password protect the private top level folder. Or am I making this too simple...

bill

9:01 am on Jul 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



...or let your root be public and just put the rest of the site into a protected folder or sub-domain. Then your home page (index.html) could be open, but everything else would require a password.