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 07-08-2004, 08:20 PM   #1
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
help with .htaccess please

yes i know there are probably 812 threads about this on GFy already but with no search feature what good is it?

so can someone plese help me with this?

here is what i have so far:
-------------------------------------------------------------------------------
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://slinkylinks.com
RewriteCond %{HTTP_REFERER} !^http://www.slinkylinks.com
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.slinkylinks.com/free.htm [L]

ErrorDocument 404 http://www.slinkylinks.com/free.htm
DirectoryIndex index1.htm
ExpiresActive on
ExpiresDefault A31536000
-------------------------------------------------------------------------------

i used this to help me http://developers.evrsoft.com/tools-...enerator.shtml then i uploaded to my main directory in ASCII mode and it doesn't work... what did i fuck up?


__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:28 PM   #2
JohnnyUtah
Confirmed User
 
Join Date: Oct 2002
Posts: 826
Easton, depending on the server...htaccess files can do strange shit...

Try this one:

-----------------------------------------------------------------

AuthGroupFile /dev/null

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourip.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourip/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourip:80/.*$ [NC]
RewriteRule .*([jJ][pP][eE][gG]|[jJ][pP][gG]|[gG][iI][fF])$ [F]

ErrorDocument 302 http://www.console-hell.com
ErrorDocument 400 http://www.console-hell.com
ErrorDocument 401 http://www.console-hell.com
ErrorDocument 403 http://www.console-hell.com
ErrorDocument 404 http://www.console-hell.com
ErrorDocument 408 http://www.console-hell.com
ErrorDocument 500 http://www.console-hell.com
JohnnyUtah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:36 PM   #3
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
thanks dude... i actually think i got it on my own...

i fucked with it a bit and it seems to be working now

let me test:

__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:37 PM   #4
JohnnyUtah
Confirmed User
 
Join Date: Oct 2002
Posts: 826
Seems to work here
JohnnyUtah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:39 PM   #5
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
dammit, not any more!!!

i get errors when accessing my TGP now!!! LOL

i need help!!!
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:49 PM   #6
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
ok i tweaked the code to this:

---------------------------------------------------------------------------------
RewriteEngine on
RewriteCond %haha123;HTTP_REFERER} !^http://www.slinkylinks.com.*$ [NC]
RewriteCond %haha123;HTTP_REFERER} !^http://slinkylinks.com.*$ [NC]
RewriteCond %haha123;HTTP_REFERER} !^http://www.slinkylinks.com/.*$ [NC]
RewriteCond %haha123;HTTP_REFERER} !^http://slinkylinks.com/.*$ [NC]
RewriteCond %haha123;HTTP_REFERER} !^http://www.slinkylinks.com80/.*$ [NC]
RewriteCond %haha123;HTTP_REFERER} !^http://slinkylinks.com:80/.*$ [NC]
RewriteRule .*([jJ][pP][eE][gG]|[jJ][pP][gG]|[gG][iI][fF])$ [F]

ErrorDocument 302 http://www.slinkylinks.com/free.htm
ErrorDocument 400 http://www.slinkylinks.com/free.htm
ErrorDocument 401 http://www.slinkylinks.com/free.htm
ErrorDocument 403 http://www.slinkylinks.com/free.htm
ErrorDocument 408 http://www.slinkylinks.com/free.htm
ErrorDocument 500 http://www.slinkylinks.com/free.htm



and i uploaded it to my main directory, so i assume it will gobern all folders that way... i don't see why this is so hard but it still doesn't work

__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:51 PM   #7
JohnnyUtah
Confirmed User
 
Join Date: Oct 2002
Posts: 826
Try this before your code

Options SymlinksIfOwnerMatch

Last edited by JohnnyUtah; 07-08-2004 at 08:55 PM..
JohnnyUtah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:55 PM   #8
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
great now my TGP and galleries are all down...

is there a way i can undo the .htaccess on the server?
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:56 PM   #9
JohnnyUtah
Confirmed User
 
Join Date: Oct 2002
Posts: 826
Yes, if you dont have root access on your box...
Just upload a blank htaccess file.
That will clear up anything.
JohnnyUtah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 08:59 PM   #10
JohnnyUtah
Confirmed User
 
Join Date: Oct 2002
Posts: 826
If you have root access
type ls -ax

And you'll see your file there...
Then just remove it
JohnnyUtah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 09:07 PM   #11
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
ok thanks, i've reset it to the way it was before i fucked with it

that still leaves me with the AHL problem tho... why is this so hard? LOL
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 09:32 PM   #12
Vox
Confirmed User
 
Vox's Avatar
 
Industry Role:
Join Date: Mar 2002
Location: Montreal
Posts: 2,710
Here's mine, maybe it will help

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
RewriteRule .*\.(GIF|gif|jpg|jpeg|bmp|mpg|wmv)$ http://www.domain.com/ [R,NC,L]
IndexIgnore *
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*BackWeb.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo\Pump.* [OR]
RewriteRule /* http://www.sexsuche.tv/exitcon/get_l...&WMEC=5&nid=42 [L,R]

AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm

ErrorDocument 400 http://www.domain.com/index.html
ErrorDocument 401 http://www.domain.com/index.html
ErrorDocument 403 http://www.domain.com/index.html
ErrorDocument 404 http://www.domain.com/index.html
ErrorDocument 500 http://www.domain.com/index.html
__________________
Social profile assassination for hire
Vox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 10:02 PM   #13
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
thanks! but why does every single AHL code look so different? it all seems so complicated...

assuming i even get my htaccess code done right, exactly where should i park it? the main root directory? or only in folders that contain images, clips, etc?
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 11:29 PM   #14
venturi
Confirmed User
 
Join Date: Aug 2001
Location: An Oasis atop a High Desert Mesa
Posts: 386
Easton, hit me up on ICQ Friday (or tonight) - Sheri has my # and I'll work with you through this if you're still having probs.
__________________
I'm not a porn monger. I'm a porn ... STYLIST!
Buildit Cheap, build it Fast, Build it Right. - Pick Two.
venturi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2004, 01:09 AM   #15
Easton
Too lazy to set a custom title
 
Easton's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
Quote:
Originally posted by venturi
Easton, hit me up on ICQ Friday (or tonight) - Sheri has my # and I'll work with you through this if you're still having probs.
thanks very much bro, i may just do that!
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton 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.