Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-08-2003, 06:21 AM   #1
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,787
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

(i know........i know.....)
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:29 AM   #2
com
Confirmed User
 
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
go to google and lookup basic .htacess generator
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:38 AM   #3
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,787
http://www.htmlbasix.com/
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:40 AM   #4
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,787
Shit it's not showing the codes for IPs' and Domains
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:41 AM   #5
Burtman
Registered User
 
Join Date: Feb 2001
Posts: 484
Not sure if this helps but its still a good bookmark:
http://wsabstract.com/howto/htaccess.shtml


Burtman
Burtman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:44 AM   #6
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,787
<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 ?
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:45 AM   #7
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
<Directory /docroot>
order deny,allow
deny from all
allow from bla bla
</Directory>
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:48 AM   #8
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,787
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:56 AM   #9
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,787
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
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2003, 06:57 AM   #10
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
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
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.