GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Password protect a directory by htaccess HOW? (https://gfy.com/showthread.php?t=791815)

justsexxx 12-13-2007 08:07 AM

Password protect a directory by htaccess HOW?
 
I know how to password protect a directory. But then all subdirs are password protected too. Is it possible to protect a directory, except one subdir in that directory?

example

.htaccess in
domain.com/password/

means
domain.com/password/dir1/
domain.com/password/dir2/
etc are protected too

Now I want that
domain.com/password/dir3/ doesn't ask for a user/pass

How can I do this?

Andre

Sams_gfy 12-13-2007 08:11 AM

.htaccess in that dir
Code:

AuthType none
Satisfy any


justsexxx 12-13-2007 08:27 AM

Thanks a lot!

justsexxx 12-13-2007 08:29 AM

BTW 2nd time you helped me today. Appreciated!

Shaze 12-13-2007 09:37 AM

google is your friend


All times are GMT -7. The time now is 01:13 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123