|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
allow access to 1 dir using htaccess
ive got 5 directories in the root of my server and i got a htaccess file that requires a valid user to login to gain access to the root of the server.
What i want to do is allow everyone to gain access to one of the folders but none of the rest, how do i write the htaccess file to allow this? |
|
#2
|
|||
|
|||
|
RE: allow access to 1 dir using htaccess
Hmmm. I never thought about doing that. One thing with .htaccess is the it works recursively. I am not sure if this can be done but I am going to look into it for you just because I want to know myself.
Can you change your directory structure. say have two directorys in the root one protected by htaccess and one public? |
|
#3
|
|||
|
|||
|
RE: allow access to 1 dir using htaccess
ive thought about doing that but its too much stuffing around as ive got 2 other sites that look at this site and i would have to change the paths on them as well.
|
|
#4
|
|||
|
|||
|
RE: allow access to 1 dir using htaccess
anyone got an answer?
|
|
#5
|
|||
|
|||
|
RE: allow access to 1 dir using htaccess
Yea here is an answer. Change your directory structure.
|
|
#6
|
|||
|
|||
|
RE: allow access to 1 dir using htaccess
thought so, i just started on doing that, thought i would check back here first.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > allow access to 1 dir using htaccess |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|