Welcome to WebmasterWorld Guest from 23.22.220.37

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

mod_rewrite and cookie problem.

     
4:51 pm on Jul 27, 2003 (gmt 0)

New User

10+ Year Member

joined:July 27, 2003
posts:3
votes: 0


First of all, it is an honor to be part of this community. I know there are hundreds of mod_rewrite questions before this, and I've searched, but couldn't find any real solution to my problem.

I was able to prevent others from using my images with mod_rewrite. However, it seems like this only works if users have cookie enabled. If they turn off their cookie, then they can see my images posted in other sites.

Can someone please shed some lights into this situation for me by explaining why this is so and how to make it work with both cookies enabled and disabled?

Thank you in advance for your help!

1:55 am on July 29, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 3, 2003
posts:159
votes: 0


It'd difficult to suggest anything without seeing your mod_rewrite code.
4:17 pm on July 29, 2003 (gmt 0)

New User

10+ Year Member

joined:July 27, 2003
posts:3
votes: 0


Thank you for answering. Sorry about that! Here's my mod_rewrite code:

IndexIgnore *
RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://localhost/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://****.com/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.****.com/.*$ [NC]
RewriteRule .*\.(css¦gif¦jpg¦ico¦png¦GIF¦JPG¦jpe¦jpeg).*$ - [G,L]

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members