Add the following entry to the VirtualHost
<Directory "/var/www/html">
order allow,deny
allow from all
AuthName "Staff only"
AuthType Basic
AuthLDAPURL ldap://localhost/dc=example,dc=com
require valid-user
</Directory>
On RedHat Enterprise 3 Linux on VMWare each interface link is always down.
The following needs to be added to all the ifcfg-eth in /etc/sysconfig/networking-scripts/
check_link_down()...
Seems that VMWare server adds a new service to the /etc/service file. If you have SELinux running the file's security context changes.
To fix run:
/sbin/restorecon...
Excellent Howto for setting up Tomcat5 from jpackage.org on RedHat Fedora Core3.
http://www.mksearch.mkdoc.org/howto/jpackage-sun-fc3/
But required JDK 1.4.2 to be used in place of 1.5
Downloaded http://mirrors.sunsite.dk/jpackage/1.6/generic/non-free/SRPMS/java-1.4.2-sun-1.4.2.07-1jpp.nosrc.rpm
rpm -Uvh java-1.4.2-sun-1.4.2.07-1jpp.nosrc.rpm
Download...
To create key only authentication the users public key needs to be put on the server in their home directory under .ssh/authorizated_keys.
Create the users...