homepage Welcome to WebmasterWorld Guest from 54.167.11.16
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
mod_rewrite and cookie problem.
rookie7




msg:1514151
 4:51 pm on Jul 27, 2003 (gmt 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!

 

Storyteller




msg:1514152
 1:55 am on Jul 29, 2003 (gmt 0)

It'd difficult to suggest anything without seeing your mod_rewrite code.

rookie7




msg:1514153
 4:17 pm on Jul 29, 2003 (gmt 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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved