htaccess issue

Discussion in 'Customization & add-ons' started by jentyse, Apr 9, 2008.

  1. jentyse

    jentyse New Member

    Joined:
    Apr 9, 2008
    Messages:
    1
    Hey everyone.... I wrote a script to spider the protected amember directory.... problem is that the script will not spider the directory even when the user is logged in because of the last few lines in the .htaccess

    ## if user is not authorized, redirect to login page
    BrowserMatch "MSIE" force-no-vary
    RewriteCond %{QUERY_STRING} (.+)
    RewriteRule ^(.*)$ http://www.domain.com/data/plugins/protect/new_rewrite/login.php?v=-any&url=%{REQUEST_URI}?%{QUERY_STRING} [L,R]
    RewriteRule ^(.*)$ http://www.domain.com/data/plugins/protect/new_rewrite/login.php?v=-any&url=%{REQUEST_URI} [L,R]

    The name of my script is search.php and its located in the same directory...

    any ideas on how I can allow this script to spider the directory without amember thinking its not authorized...???

Share This Page