java - Apache mod_proxy with tomcat and svn -


i have tomcat configured take root "/" of webserver

<location />     proxypass http://localhost:8081/     proxypassreverse http://localhost:8081/ </location> 

i able exclude path proxying follows:

<location /robots.txt>     proxypass ! </location> 

i want exclude /svn path routing http://localhost:8081/. same approach doesn't work /svn setup

<location /svn>     proxypass !      dav svn      svnparentpath /home/svn/repos     svnlistparentpath on     svnmasteruri http://www.domain.com/svn      authtype basic     authbasicprovider file     authname "subversion server"      # file setup     authbasicauthoritative  off     authuserfile /home/svn/conf/svn_passwdfile      # limit write permission list of valid users.     authzsvnaccessfile /home/svn/conf/access      require valid-user </location> 

in case routed tomcat app's 404 not found page. have noticed if comment out require, , authtype lines correct routing, svn not functional.

<location /svn>     proxypass !      dav svn      svnparentpath /home/svn/repos     svnlistparentpath on     svnmasteruri http://www.domain.com/svn      #authtype basic     authbasicprovider file     authname "subversion server"      # file setup     authbasicauthoritative  off     authuserfile /home/svn/conf/svn_passwdfile      # limit write permission list of valid users.     authzsvnaccessfile /home/svn/conf/access      #require valid-user </location> 

my guess if include auth* directives load order gets messed up. welcome.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -