|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
This has to be possible. I have a root directory where I have a web site. Below the website I have a PUBLIC directory. So it looks like this /WebRoot/Public I have an .htaccess file that looks like this Options +Indexes +Includes XBitHack on IndexOptions +IgnoreCase +SuppressDescription NameWidth=* +SuppressHTMLPreamble HeaderName .header.html ReadmeName .footer.html Now the problem. I place files in the public directory that have nothing to do with the website so I done want the users to see or be able to click on the option for PARENT DIRECTORY. Isnt there a way to add something to the htaccess file that will remove the PARENT DIRECTORY so the user can see the files in the PUBLIC direcrory and access them without a password but not be able to go anywhere else only the PUBLIC folder Seems so easy but cant find the solution PLEASE |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sun, 03 Dec 2006 22:26:10 -0500, LuvLatins <LuvLatins@mexico.com>
wrote: > >This has to be possible. I have a root directory where I have a web >site. Below the website I have a PUBLIC directory. So it looks like >this > >/WebRoot/Public > >I have an .htaccess file that looks like this > >Options +Indexes +Includes >XBitHack on >IndexOptions +IgnoreCase +SuppressDescription NameWidth=* >+SuppressHTMLPreamble >HeaderName .header.html >ReadmeName .footer.html > >Now the problem. I place files in the public directory that have >nothing to do with the website so I done want the users to see or be >able to click on the option for PARENT DIRECTORY. > >Isnt there a way to add something to the htaccess file that will >remove the PARENT DIRECTORY so the user can see the files in the >PUBLIC direcrory and access them without a password but not be able to >go anywhere else only the PUBLIC folder > >Seems so easy but cant find the solution PLEASE Kewl I found it further in this site. Acutally they wanted to turn it on but in case someone else is looking the command is IndexIgnore .?* |
|
![]() |
| Outils de la discussion | |
|
|