Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-07-28, 10:25 AM   #1
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
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
nomad is offline   Reply With Quote
Old 2006-07-28, 10:31 AM   #2
WarBot
If something goes wrong at the plant, blame the guy who can't speak English
 
WarBot's Avatar
 
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
WarBot is offline   Reply With Quote
Old 2006-07-28, 10:36 AM   #3
WarBot
If something goes wrong at the plant, blame the guy who can't speak English
 
WarBot's Avatar
 
Join Date: May 2006
Posts: 306
test link
http://www.canadafreeporn.com/canadafreeporn.jpg

test hotlink
__________________
Submit Your TGP Galleries

Last edited by WarBot; 2006-07-28 at 10:40 AM..
WarBot is offline   Reply With Quote
Old 2006-07-28, 10:49 AM   #4
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
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
nomad is offline   Reply With Quote
Old 2006-07-28, 10:51 AM   #5
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Checking

And check to make sure my gallery images are OK?

http://www.canadafreeporn.com/virgins80/virgins80.htm
nomad is offline   Reply With Quote
Old 2006-07-28, 11:15 AM   #6
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Wow WarBot,

This .htaccess file seems really complicated. What else is it supposed to do?
nomad is offline   Reply With Quote
Old 2006-07-28, 03:56 PM   #7
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
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.
virgohippy is offline   Reply With Quote
Old 2006-07-30, 01:03 AM   #8
WarBot
If something goes wrong at the plant, blame the guy who can't speak English
 
WarBot's Avatar
 
Join Date: May 2006
Posts: 306
Quote:
Originally Posted by nomad
Wow WarBot,

This .htaccess file seems really complicated. What else is it supposed to do?
It wont allow anyone thats not coming from your domain (or any blank referrer) to view your pics. And it also 301 redirects (moved permanently) anyone going to http://yourdomain.com to http://www.yourdomain.com

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
WarBot is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:18 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc