Sewug Posted August 21, 2007 Share Posted August 21, 2007 I have a virtual host set up that has been used for Subversion repositories via WebDAV. This has been secured using basic authentication and has worked well for a while. I am now in the position where I need to have a location below root that will contain some php management scripts for the site (to allow the setting up of accounts etc.). I appear to be having some trouble in formulating a way to create an area that can be accessed and does not need authentication, off the root of the site. Below is an attempt to add a /test below root, however I keep getting a 403. I'm not even sure if this is possible. Does anyone have any pointers as to what I need to do, or is it a case of needing to reorganise the structure (causing the users some disruption)? <VirtualHost *:443> ServerAdmin info@example.org ServerName example.org:443 ErrorLog logs/ssl_error.log TransferLog logs/ssl_access.log SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXP:!MD5:!eNULL SSLCertificateFile conf/ssl.cert/example.org.cert SSLCertificateKeyFile conf/ssl.key/example.org.key SSLCACertificatePath conf/ssl.cert SSLCARevocationPath conf/ssl.crl DocumentRoot "/var/svn/website/htdocs" <Location "/test"> AllowOverride None Options -Indexes Order allow,deny Allow from all </Location> <Location /> DAV svn SVNParentPath "/var/svn/repos" AuthzSVNAccessFile "/var/svn/conf/authz.conf" AuthType Basic AuthName "SVN Repository" AuthUserFile "/var/svn/conf/svnusers.conf Require valid-user </Location> </VirtualHost> Quote Link to comment Share on other sites More sharing options...
steviewdr Posted August 21, 2007 Share Posted August 21, 2007 Humm....I dont think it can be done. What you want is: www.example.org/ - to be password (htaccess) protected www.example.org/test/ - not to be password protected. So far as Im aware you cant get the above working. I could be wrong however. Can you not use another virtualhost for managing/accessing your php scripts. You could have www.svn.example.org -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.