![]() |
![]() |
![]() |
||||
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
Join Date: Apr 2003
Location: Europe
Posts: 1,036
|
Crap ... htaccess $#%haha
I just made a shitload of galleries for a another shitload of AVS sites using Arles Image Web Page Creator....
The stupid thing inserts the following code in the HTML: hahahahahahahaha language="hahahahahahahahahaha" type="text/hahahahahahahahahaha"><!-- function gotonewpage(what) { value = what.options[what.selectedIndex].value; if (value hahahaha "") return; window.location.href = value; } //--></hahahahahahahaha On each page generated by Arles thereīs a dropdown menu allowing the user to navigate trough the galleries, which is OK exepct that it uses Java to do it... My problems is that you protect members areas of AVS sites using a htacess looking like this: AuthType Basic RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.YOUR-DOMAIN.com [NC] RewriteCond %{HTTP_REFERER} !^http://YOUR-DOMAIN.com [NC] RewriteCond %{HTTP_REFERER} !^http://.+\.bondagepass\.com/* [NC] RewriteCond %{HTTP_REFERER} !^http://www.theavsdomain.com [NC] RewriteCond %{HTTP_REFERER} !^http://theavsdomain.com [NC] RewriteRule /* http://www.YOUR-DOMAIN.com/FORBIDDEN.HTML [R,L] which allows access to the members area if the user is coming from the AVSīs domain (which he will be when entering the members area) But when you navigate around in the members area using these JAVA link, the rewrite rule is activated #$%& CRAP...... Is it possible to "MACgyver" the htaccess to also accept these java links ??? I donīt feel like making all the stupid galleries again, since itīs approx. 2 GB and it is already uploaded (took me a fucking week).... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2003
Location: Europe
Posts: 1,036
|
Never mid, I have found a solution..
wrote a script that searched trough all the HTML pages on the server and deleted the java-code that fucked up the htacess...more than 30K + pages... |
![]() |
![]() ![]() ![]() ![]() ![]() |