--- /usr/local/apache2/conf/httpd.conf.orig 2004-04-29 15:48:38.000000000 +0200
+++ /usr/local/apache2/conf/httpd.conf 2004-04-29 15:54:37.000000000 +0200
@@ -405,15 +405,18 @@
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
-UserDir public_html
+#UserDir public_html
+UserDir disabled
+UserDir disabled root
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
-#
+
# AllowOverride FileInfo AuthConfig Limit Indexes
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+ Options -Indexes MultiViews ExecCGI SymLinksIfOwnerMatch IncludesNoExec
#
# Order allow,deny
# Allow from all
@@ -422,7 +425,7 @@
# Order deny,allow
# Deny from all
#
-#
+
#
# DirectoryIndex: sets the file that Apache will serve if a directory
@@ -902,6 +905,7 @@
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi
+AddHandler cgi-script .cgi .pl
#
# For files that include their own HTTP headers:
@@ -1088,3 +1092,13 @@
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
+
+NameVirtualHost *:80
+
+
+RewriteEngine on
+RewriteOptions inherit
+DocumentRoot /home/user1/public_html
+SuexecUserGroup user1 site1
+Userdir enabled user2
+