![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: Jan 2002
Posts: 1,151
|
htaccess help
Can someone point me in the right direction on how to do this? I need the htaccess code to do this... say I have 3 sites A, B , C In order to get to site C you have to either come from site A, or site B. I don't wont some to be able to type site C in directly and be able to get there. I have searched the board I know I have seen the code posted some were. If anyone can point me in the right direction I would be thankfull. I thought it was a deny all type of code and then in the code it said ... deny from all
allow from domain or ip est... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2002
Posts: 826
|
I think your looking for something like this.
This would allow traffic commin in from a certain IP number to access your members area. <Limit GET> require valid-user order deny,allow deny from all allow from 195.Your.ip.number Satisfy Any </Limit> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Industry Role:
Join Date: Jan 2002
Posts: 1,151
|
Yeah I thought it was something like that but when I use that code I get a server 500 error. Does it need to be chmoded a certain property.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Oct 2002
Location: USA
Posts: 2,796
|
Actually, you need something like this. Allow/Deny won't work for what you want:
AuthUserFile /dev/null AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.site-a.com/.* [NC] RewriteCond %{HTTP_REFERER} !^http://www.site-b.com/.* [NC] RewriteCond %{HTTP_REFERER} !^http://www.site-c.com/.* [NC] RewriteRule /* http://www.yoursite.com/error.html [R,L] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: May 2002
Posts: 1,909
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Registered User
Industry Role:
Join Date: Jan 2002
Posts: 1,151
|
Thanks everyone I got it working except it's will not pull up my pics on any of the pages. I'm at apache's site now also.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Registered User
Industry Role:
Join Date: Jan 2002
Posts: 1,151
|
Anyone know how I can get the pics to come up?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Sep 2001
Posts: 5,994
|
bump
__________________
![]() Penis enlargement / male enhancement pills - earn up to $229.48 per signup ICQ: 46335817 |
![]() |
![]() ![]() ![]() ![]() ![]() |