PDA

View Full Version : Htaccess problem...


Cougar
10-09-2006, 08:26 AM
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:


# 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!

Vincent Wright
10-09-2006, 08:46 AM
What if you try this


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