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)
-   -   Way to only allow certain IP access a folder ? (https://gfy.com/showthread.php?t=401725)

Doctor Dre 12-12-2004 03:35 PM

Way to only allow certain IP access a folder ?
 
I want only couple people to be allowed to hit some files ... how do I only allow them and not others ? I'Ve already tried

<limit get post>
order deny allow
deny from all
allow from xxx
</limit>

but it gives me a server error .

smack 12-12-2004 03:44 PM

couldn't you just put a password on the folder?

Doctor Dre 12-12-2004 03:48 PM

Quote:

Originally posted by smack
couldn't you just put a password on the folder?
Nop wouldn't work

Project-Shadow 12-12-2004 03:50 PM

order deny,allow
deny from all
allow from 123.123.123.123

Thats how it should look.

fuzebox 12-12-2004 03:51 PM

Your htaccess wasn't setup properly if using an htpasswd file "didn't work"...

You can also use mod_rewrite and match the rewritecond against REMOTE_ADDR...

Doctor Dre 12-12-2004 03:53 PM

Quote:

Originally posted by fuzebox
Your htaccess wasn't setup properly if using an htpasswd file "didn't work"...

You can also use mod_rewrite and match the rewritecond against REMOTE_ADDR...

err I mean it won't work with what I'm doing . I don't want no password beeing asked

Doctor Dre 12-12-2004 03:56 PM

I think I got it working


All times are GMT -7. The time now is 11:50 AM.

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