![]() |
|
#1
|
|||
|
|||
bypass htaccesshi,
is the the possibility to protect my folders with htaccess in that way that no one can browse this folders but when i call the index all files that are requested are shown without the login prompt? thx mike |
|||
|
#2
|
||||
|
||||
|
you want the folder to be password protected, and only you can access them.
hmmm.. you can do something like that this way: <directory /home/user/www/protect> order deny, allow deny from all allow from your.host.name </directory> note that this will only work if you have a static hostname. if you don't change the your.host.name line to *.a.part.ofyour.hostname you always need to play a bit with this.. |
|
#3
|
|||
|
|||
|
hi,
the thing is that i have differen folders (pictures, sounds...) these folders i want to protect. in the root lies the index.html and this is not protected. if i call the root the prompt appears because the index.html needs files from the protected folders. what i need is that the folders keep protected but the fils that are be used to build the site have to be loaded without the prompt. i want to prevent that users can browse my folders by bypassing the root but the site should be build normaly. i hope this is a little bit more helpful. thx mike |
|
#4
|
||||
|
||||
|
Sorry for the late response...
maybe this works, haven't tested.. Code:
Maybe you can leave the 'satisfy Any' out, but I'm not sure about that. Place the code in a .htaccess file in the same directory index.html is Hope this is what you mean (and that it works) [added] for you imges you can try Code:
|
Recent GIDBlog
Not selected for officer school by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The