I have a problem with Apache2 authentication using authnz_ldap_module in order to authenticate users from Active Directory.
My Apache version is 2.2.16-6+squeeze10.
Here is the configuration I am trying to use with no luck (one of many combinations, to be precise):
AuthzLDAPAuthoritative off
AuthBasicProvider ldap
AuthType Basic
AuthName "Active Directory"
AuthLDAPURL "ldap://server1.my.company.
I am trying to configure my apache server to have the following rule. If the request comes from 192.168.., no authentication is required.
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
Using Apache 2.2, I would like to use mod_rewrite to redirect un-authenticated users to use https, if they are on http..
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've setup an alias in my apache 2.2 configuration and protected it with digest authentication like this :
Alias /archive/ "/var/versions/packages/"
<Directory "/var/versions/packages/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AuthType Digest
AuthName "archive"
AuthDigestProvider file
AuthUserFile /auth/di
I am trying to get a VirtualHost (well multiple VirutalHosts) up and running with kerberos authentication and group requirements.
My latest configuration within the directive looks like this:
AllowOverride None
Order allow,deny
allow from all
AuthType Kerberos
AuthName "Kerberos Realm Login"
KrbAut
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 have an Apache config that restricts access to to a website, using the following code -
<Directory /var/www/html/website/test/>
AuthName "Dyne Drewett Test Site"
AuthType Basic
AuthUserFile /usr/local/etc/apache/.htpasswd
require valid-user
</Directory>
Does anybody know how I can amend this to allow full, unauthorised access to one directory under