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 07-16-2004, 12:45 AM   #1
newbreed
Confirmed User
 
newbreed's Avatar
 
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
.htaccess question for the server savy.

This is what's in it now...

# -FrontPage-

Options None

<Limit GET POST>
order deny,allow
deny from all
allow from all
require group authors administrators
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthType Basic

Where would I insert the ip I want to block, and in what format should I put it?

Thank you,
Bill
__________________

Loryn ‎(3:16 PM):
I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
fuck it we can have sex on money never did that before
newbreed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2004, 02:42 AM   #2
mysh
Registered User
 
Join Date: Jul 2004
Location: far far away
Posts: 24
If you want to allow users from some IPs, and deny all others, you type:

order deny,allow
deny from all
allow from 12.13.14.15
allow from 12.13.14.16

and so on. besides, you can define an address mask in allow from rule. for example, you want to allow all users from 12.13.14.* network - then you type:

allow from 12.13.14.0/24

so for 12.13.*.* - 12.13.0.0/16

and so on... you get that.

and if you want to allow all users except some addresses, you type

order allow,deny
allow from all
deny from 12.13.14.15

and so on. masks are allowed too. No matter where place you put those strings in .htaccess it will work fine.
__________________
Maximum response from your teen traffic is HERE
mysh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2004, 02:48 AM   #3
frank7799
Confirmed User
 
frank7799's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: In the middle of nowhere...
Posts: 1,974
Quote:
Originally posted by newbreed
This is what's in it now...

# -FrontPage-

Options None

<Limit GET POST>
order deny,allow
deny from all
allow from all
require group authors administrators
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthType Basic

Where would I insert the ip I want to block, and in what format should I put it?

Thank you,
Bill

<Limit GET POST>
order deny,allow
deny from all
allow from all
require group authors administrators
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
allow from .domain.com 172.16.
</Limit>

But your code doesnīt block one IP adress, it blocks all and allows the specific domains and IPīs you mention in the allow derictive.

Itīs like mysh said, you have to put it the other way round.
frank7799 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.