Crap ... htaccess $#%haha

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Claude
    Confirmed User
    • Apr 2003
    • 1036

    #1

    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)....
  • Claude
    Confirmed User
    • Apr 2003
    • 1036

    #2
    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...

    Comment

    Working...