I put directory svn and svn-auth in /var/www
and already change owner and set permission with chown -R apache.apache /var/www/svn* and chmod 600 -R /var/www/svn*
My configuration
svn.mydomain.com.conf
<VirtualHost 127.0.0.1:8080>
ServerName svn.mydomain.com
<Location />
DAV svn
SVNPath /var/www/svn/REPOSITORY_NAME
AuthType Basic
AuthName "Sub
There is my config (httpd 2.4):
<AuthnProviderAlias ldap zzzldap>
LDAPReferrals Off
AuthLDAPURL "ldaps://ldap.zzz.com:636/o=zzz.com?uid?sub?(objectClass=*)"
AuthLDAPBindDN "uid=zzz,ou=Applications,o=zzz.com"
AuthLDAPBindPassword "zzz"
</AuthnProviderAlias>
<Location /svn>
DAV svn
SVNParentPath /DATA/svn
AuthType Basic
AuthName "Subversion repositories"
In Apache I have set basic authentication for /protected location. Now i need to bypass authetication for a specific ip address but keep auth for others intact. Can anyone guide me on this one.
I'm attempting to set up a server using Apache. In the conf file, I inserted the code:
<Directory />
Options FollowSymLinks
AllowOverride AuthConfig
AuthType Basic
AuthName "Restricted Files"
AuthBasicProvider file
AuthUserFile C:\...\serverpass.txt
Require user Admin
</Directory>
In order to try and get Apache to require a password.
I'm setting up a development server and need to apply these basic rules to all virtual hosts on the server in the /var/www/html directory.
AuthType Basic
AuthName "Development Area"
AuthUserFile /var/www/.htpasswd
Require valid-user
I simply tried to put it in my httpd.conf, However apache throws an error when checking the syntax: AuthType not allowed here
<Location "/site">
Allow from all
ProxyPass ajp://localhost:8009/site
</Location>
<Location "/site2">
Allow from all
ProxyPass ajp://localhost:8009/site2
</Location>
<Location /svn>
DAV svn
SVNParentPath /home/svn
SVNListParentPath On
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/subversion/passwd
I would like to password protect port 2000 of a web server by embedding a directive inside of the directive of the apache config file. However it didn't prompt for a password as expected.
I am using htaccess to block all access to our dev server with the following code:
AuthType Basic
AuthName "Auth"
AuthUserFile /var/htpasswd
Require valid-user
Order allow,deny
Satisfy any
I have set a variable in Apache httpd.conf called DEV. I am using it for my config files in php but how would I use it only to use the auth when the DEV setting
I am configuring a CollabNet Subversion integration.