![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Posts: 475
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Posts: 475
|
Anyone??
There must be a way to get the htaccess to work with hahahahahahahahahaha popup windows. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Posts: 475
|
shit. more work.
Thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Dec 2002
Location: vegas
Posts: 10
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |