|
|
|
|
|
|
|
![]() |
#1 |
Are you sure you're an accredited and honored pornographer?
Join Date: Feb 2004
Posts: 63
|
You're right, all my .jpg's used to be lower case now they're upper case. How do I change my .htaccess file?
I'm a total newbie at this. How do I modify this? Where do I add the .JPG in upper case? Can you rewrite my .htaccess for me PLEEEEAAASEEEE? RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.canadafreeporn.com/.*$ [NC] RewriteRule \.(gif|jpg|js|css)$ - [F] # last line |
![]() |
![]() |
![]() |
#2 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: May 2006
Posts: 306
|
Just in case he doesnt come back for a bit you can use this until someone has something better
RewriteEngine on RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*canadafreeporn.com [NC] RewriteRule .*[Jj][Pp][Ee]*[Gg]$|.*[Gg][Ii][Ff]$ http://www.canadafreeporn.com/error.gif RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\.pornogallerypost\.com [NC] RewriteRule (.*) http://www.canadafreeporn.com/$1 [R=301,L] ErrorDocument 404 http://www.canadafreeporn.com you can make error.gif a little gif picture that says "visit canadafreeporn.com" or something like that.
__________________
Submit Your TGP Galleries |
![]() |
![]() |
![]() |
#3 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: May 2006
Posts: 306
|
__________________
Submit Your TGP Galleries Last edited by WarBot; 2006-07-28 at 10:40 AM.. |
![]() |
![]() |
![]() |
#4 |
Are you sure you're an accredited and honored pornographer?
Join Date: Feb 2004
Posts: 63
|
Fusker
Thanx guys,
I re wrote it to this, RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.canadafreeporn.com/.*$ [NC] RewriteRule \.(gif|jpg|JPG|js|css)$ - [F] # last line Adding the upper case JPG. It's seems to be working. Can you check and let me know? http://www.trouserstew.com/fusker/in...026&offset=120 Thanx again all of you for instantly helping me out ![]() Teebs |
![]() |
![]() |
![]() |
#5 |
Are you sure you're an accredited and honored pornographer?
Join Date: Feb 2004
Posts: 63
|
Checking
And check to make sure my gallery images are OK?
http://www.canadafreeporn.com/virgins80/virgins80.htm |
![]() |
![]() |
![]() |
#6 |
Are you sure you're an accredited and honored pornographer?
Join Date: Feb 2004
Posts: 63
|
Wow WarBot,
This .htaccess file seems really complicated. What else is it supposed to do? |
![]() |
![]() |
![]() |
#7 |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
Looks like warbot's htaccess only allows hotlinking from your domain, and redirects outside links to an "error.gif" file. I've seen, and used, similar.
In fact, I think I remember one webmaster confessing to me that fusker stopped even trying to fuck 'em after they put something like that in place. I guess fusker doesn't want you stealing their traffic. ![]() You're gallery page loads fine by me. ![]()
__________________
~Warm and Fuzzy. ![]() |
![]() |
![]() |
![]() |
#8 | |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: May 2006
Posts: 306
|
Quote:
Virgo seems to know more about htaccess than I do. Id go with his code. Mines just a bunch of junk I threw together over the years. I wasnt sure how long it would be before someone responded to you and I knew mine would at least stop them till you got something better ![]()
__________________
Submit Your TGP Galleries |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|