![]() |
Need some help with a strange htaccess problem
I posted this on the Q&A board but I don't think too many people are reading it. I'd really appreciate it if someone could help me out.
Well everything I am trying isn't working. Hopefully this is possible. I have two domains. The .com I has the html pages and the .org has the images. So I hotlink my own sites from the .com to the .org. But I think the problem is that on the .com the pages with the content open in a java popup window. Evverything works great until the popwindow opens and then it redirects. This is what I have is my htaccess: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*mydomain.org [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*mydomain.com [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*www.mydomain.com [NC] RewriteRule /* http://www.mydomain.com/tour/index.shtml [R,L] ErrorDocument 400 http://www.mydomain.com/tour/index.shtml AddHandler server-parsed .htm .html Is it not possible to open the pages as popups? Also the content on the .org domain is divided into folder then subfolders. ie babes then 010, do I have to put a htacess file in each numbered folder? Hope someone can help me out. This is driving me nuts. Thanks in advance Lorna |
Anyone??
There must be a way to get the htaccess to work with hahahahahahahahahaha popup windows. |
Quote:
Popups break the referring URL which is what the HTACCESS functions off of (atleast what you're doing with it). Find a better way to lock down your site |
shit. more work.
Thanks |
you can use cookies to do that. heres a good how-to
http://www.arsresources.com/articles...s-movies.shtml it will also protect your movie files from hotlinking and bookmarking. peace! rl |
All times are GMT -7. The time now is 02:14 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123