![]() |
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.....) |
go to google and lookup basic .htacess generator
|
|
Shit it's not showing the codes for IPs' and Domains
|
Not sure if this helps but its still a good bookmark:
http://wsabstract.com/howto/htaccess.shtml Burtman |
<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 ? |
<Directory /docroot>
order deny,allow deny from all allow from bla bla </Directory> |
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 ??? |
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 |
Quote:
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