Help With mod_rewrite exception


#1

Hi, I have subversion setup on my domain as so…

www.mydomain.com/svn

It was working fine until I installed Joomla in the domain’s root, and turned on mod-rewrite for SEF URLs. Now I can’t access the SVN. DH support have suggested that I need to create an exception within the .htaccess for the svn folder.

Can anyone tell me how to do it?

Cheers,

Tim


#2

Try this wiki article. It applies to /stats, but it says to add some lines at the beginning of .htaccess to intercept calls to /stats.

http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess

-Scott


#3

Thanks, that helped.

For future Googlers, I added this to my .htaccess:

My stuff.

RewriteCond %{REQUEST_URI} ^/stats/(.)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.
$ - [L]

RewriteCond %{REQUEST_URI} ^/svn/(.)$
RewriteRule ^.
$ - [L]

This fixes the svn folder, and also the stats folder, which was also broken.

Thanks for the pointer.

T