GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-Feb-2004, 08:55
asinsh asinsh is offline
Invalid Email Address
 
Join Date: Jan 2004
Posts: 2
asinsh is on a distinguished road

can I make htdocs subfolder invisible without password protecting it??


I've got htdocs set up as my root directory and it is password protected. Once you give the password, htdocs open up and you can see all htdocs subfolders.

But there is one particular folder under htdocs that contains phpbb (a bulletin board/forum)...I want this open to the world whenever someone goes there directly (since it has its own login in screen and I don't want to make people sign in twice) but I do not want it listed when someone simply authenticates into htdocs.

Opening up that phpbb subfolder so that no password is required was easy enough -- I just added the following in the httpd.conf file for that subfolder:

allow from all
satisfy any

But of course when I do that, the subfolder shows up when someone authenticates into htdocs. Can I re-jigger things so that that subfolder is invisible when someone gets into htdocs? Or do I have to set up a virtual host to do that (groan)?

Thanks in advance for any help.

Alan
  #2  
Old 29-Jun-2004, 14:39
JerryWMac JerryWMac is offline
New Member
 
Join Date: Jun 2004
Location: Mexico
Posts: 5
JerryWMac is on a distinguished road
Quote:
Originally Posted by asinsh
I've got htdocs set up as my root directory and it is password protected. Once you give the password, htdocs open up and you can see all htdocs subfolders.

But there is one particular folder under htdocs that contains phpbb (a bulletin board/forum)...I want this open to the world whenever someone goes there directly (since it has its own login in screen and I don't want to make people sign in twice) but I do not want it listed when someone simply authenticates into htdocs.

Opening up that phpbb subfolder so that no password is required was easy enough -- I just added the following in the httpd.conf file for that subfolder:

allow from all
satisfy any

But of course when I do that, the subfolder shows up when someone authenticates into htdocs. Can I re-jigger things so that that subfolder is invisible when someone gets into htdocs? Or do I have to set up a virtual host to do that (groan)?

Thanks in advance for any help.

Alan

Do up in the htdocs folder a simple index.htm index.html index.php file, that is up to you, and how you have it configured.
ok. do the page up as in below, ( if I can find it...)

<HTML>
<title></title>
<META http-equiv=refresh content=187;URL=http://billieschat.ipupdater.com>
<BASE href=http://your web site/php/index.php>
</head>
<body>
</body>
</html>

The above refresh rate shorten to maybe 10, there should be no pause.
another way of doing this is to just go ahead and move the php folder up one to htdocs.
Far easier, go from the index.php straight into your program. forget about redirecting or whatever.. just move those files up one, or move starting folder out one.
 
 

Recent GIDBlogMeeting the local Iraqis by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:08.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.