50 lines
1.5 KiB
Diff
50 lines
1.5 KiB
Diff
--- conf/server.xml 2011-02-23 20:23:59.000000000 +0100
|
|
+++ conf/server.xml-gil 2011-03-01 16:41:16.000000000 +0100
|
|
@@ -136,6 +136,46 @@
|
|
prefix="localhost_access_log." suffix=".txt"
|
|
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
|
|
|
|
+ <!--
|
|
+ Automatically map a request URI starting with a tilde
|
|
+ character ("~") and a username to a directory
|
|
+ (commonly named public_html) in that user's home directory
|
|
+ on the server.
|
|
+ -->
|
|
+ <!--
|
|
+ Use /etc/passwd file to identify valid users
|
|
+ -->
|
|
+ <!--
|
|
+ <Listener className="org.apache.catalina.startup.UserConfig"
|
|
+ directoryName="public_html"
|
|
+ userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
|
|
+ -->
|
|
+ <!--
|
|
+ Use all directories found in a specified base directory
|
|
+ to be considered "user home" directories
|
|
+ -->
|
|
+ <!--
|
|
+ <Listener className="org.apache.catalina.startup.UserConfig"
|
|
+ directoryName="public_html"
|
|
+ homeBase="/home/users"
|
|
+ userClass="org.apache.catalina.startup.HomesUserDatabase"/>
|
|
+ -->
|
|
+ <!--
|
|
+ Use LDAP search to identify valid users
|
|
+ -->
|
|
+ <!--
|
|
+ <Listener className="org.apache.catalina.startup.UserConfig"
|
|
+ directoryName="public_html"
|
|
+ connectionURL="ldaps://ldap.example.com/"
|
|
+ connectionName="uid=tomcat,ou=people,dc=example,dc=com"
|
|
+ connectionPassword="secret"
|
|
+ searchBase="ou=People,dc=mim,dc=uw,dc=edu,dc=pl"
|
|
+ searchFilter="(objectClass=posixAccount)"
|
|
+ searchSubtree="false"
|
|
+ pageSize="1000"
|
|
+ userClass="org.apache.catalina.startup.LDAPUserDatabase"/>
|
|
+ -->
|
|
+
|
|
</Host>
|
|
</Engine>
|
|
</Service>
|