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 Mark Forums Read
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 01-11-2006, 05:09 AM   #1
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,646
A simple .htaccess question...

My file currently reads:

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName RESTRICTED
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

What I want to do, is too add the line that will
allow all traffic from a specifed IP...

Thing is though, I must be getting old,
Cause I cant for the life of me
remember the cortrect syntax...

TIA

TGITC
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:11 AM   #2
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Hi.

Allow from 10.1.2.3
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:11 AM   #3
studiocritic
Confirmed User
 
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
http://httpd.apache.org
__________________
254342256
studiocritic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:13 AM   #4
selena
Confirmed User
 
selena's Avatar
 
Join Date: Aug 2004
Location: On The Edge
Posts: 7,994
Try

<Limit GET POST>
order deny,allow
deny from all
allow from xxx.xxx.xxx.
</Limit>
__________________
~
Doer of Things at
MetArtMoney
Where Flawless Beauty Meets Art
~The MetArt Network ~
selena.delgado9
selena is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:14 AM   #5
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,646
OK so 'allow from 'p.ip.ip.ip'

But at what point in the file ?
In other words before or after which line?

TIA

TGITC
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:15 AM   #6
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Quote:
Originally Posted by ThatGuyInTheCorner
OK so 'allow from 'p.ip.ip.ip'

But at what point in the file ?
In other words before or after which line?

TIA

TGITC
At the start. put this if you just want to control the www. directory:

<Directory /www>
Order Deny,Allow
Allow from 'p.ip.ip.ip'
</Directory>

Last edited by who; 01-11-2006 at 05:17 AM..
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:17 AM   #7
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,646
OK Thanks...
Just one final Q.
The addition of

<Limit GET POST>
order deny,allow
deny from all
allow from xxx.xxx.xxx.
</Limit>

Will not affect a registered subscribers ability to enter ?

TIA
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:18 AM   #8
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,646
Hi Who,
Its the members area, as in a standard ccBill setup...
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 05:51 AM   #9
emthree
Dialer Kingpin
 
Join Date: Jun 2003
Location: New York
Posts: 10,816
deny from all, will deny access to all.
What you want to do is allow ip in the folder you want to keep protected.
__________________

Sell Patches & Pills
emthree is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2006, 06:50 AM   #10
sinnerscorner
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Posts: 194
Quote:
Originally Posted by ThatGuyInTheCorner
OK Thanks...
Just one final Q.
The addition of

<Limit GET POST>
order deny,allow
deny from all
allow from xxx.xxx.xxx.
</Limit>

Will not affect a registered subscribers ability to enter ?

TIA

You can also try

Satisfy Any
AuthType Basic
AuthName "Members Area"
AuthUserFile /pathonyourservertothe.htpasswdfile
AuthGroupFile /dev/null
<Limit GET POST>
require valid-user
order deny,allow
deny from all
allow from ipnumber
</Limit>

I had this working both useraccess and ip access worked.
__________________
-- ok there is no sig here --
sinnerscorner 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
Thread Tools



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.