Htaccess problem...

Discussion in 'Installation and Updates' started by Cougar, Oct 9, 2006.

  1. Cougar

    Cougar Paid Customer

    Sort of an install question...

    I have a url which is not accessable because of the htaccess file.

    The url reads http://mydomain.com/blogit/?p=1#comments

    I've added this to my htaccess to ignore the entire 'blogit' directory:

    Code:
    # added to exclude Blog
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^/blogit/(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^/failed_auth.html$
    RewriteRule ^.*$ - [L]
    
    but I still can't access that url. Any suggestions?

    Thanks!
  2. Vincent Wright

    Vincent Wright New Member

    What if you try this

    Code:
    # added to exclude Blog
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^blogit/(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^failed_auth.html$
    RewriteRule ^.*$ - [L]
    
    As you might have noticed I removed the leading slash in rewrite conditions.

Share This Page