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)
-   -   htaccess (https://gfy.com/showthread.php?t=161543)

Fabien 08-08-2003 06:21 AM

htaccess
 
Hey all you server "wizards"

The guy that takes care of all this crap for me is not in today (lol...)
And i think that the last time i did this was in 96 (no shit hehehehe)


What do i need to write in my .htacess to let in certain IP's and certain domains in a protected directory

Thanks:Oh crap

(i know........i know.....)

com 08-08-2003 06:29 AM

go to google and lookup basic .htacess generator

Fabien 08-08-2003 06:38 AM

http://www.htmlbasix.com/

Fabien 08-08-2003 06:40 AM

Shit it's not showing the codes for IPs' and Domains

Burtman 08-08-2003 06:41 AM

Not sure if this helps but its still a good bookmark:
http://wsabstract.com/howto/htaccess.shtml


Burtman

Fabien 08-08-2003 06:44 AM

<Limit GET>
order deny,allow
deny from all
require user bob
allow from .anydomain.com
allow from .anydomain.com
allow from .123.123.123.123
allow from .123.123.123.123
satisfy any
</Limit>

Will this work ??
By the way, do i need the dot at the begining of the IPs'/domains ?

Juicy D. Links 08-08-2003 06:45 AM

<Directory /docroot>
order deny,allow
deny from all
allow from bla bla
</Directory>

Fabien 08-08-2003 06:48 AM

Ok just to make sure i got it

order deny,allow
deny from all
allow from 123.123.123.123
allow from anydomain.com
allow from bla bla
allow from bla bla
allow from bla bla
allow from bla bla
etc..........

Ijust put this code in th .htacess and VOILA ???

Fabien 08-08-2003 06:56 AM

Ha i think it's coming back in my mind......

Limit GET
order deny,allow
deny from all
allow from anydomain.com
allow from 123.123.123.123
allow from 123.123.123.123
allow from 123.123.123.123
allow from etc........
satisfy any
Limit

(some codes missing as the board will not amke them appear, like slashes etc...)

Ok n'uf for the newbie , my head is too hot

Juicy D. Links 08-08-2003 06:57 AM

Quote:

Originally posted by Fabien
Ok just to make sure i got it

order deny,allow
deny from all
allow from 123.123.123.123
allow from anydomain.com
allow from bla bla
allow from bla bla
allow from bla bla
allow from bla bla
etc..........

Ijust put this code in th .htacess and VOILA ???

make a.htaccess file for the directory you want to protect and put it in

Any more questions and i will have to unleash d1.jpg.d2.jpg and d3.jpg


All times are GMT -7. The time now is 12:39 AM.

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