ispman/install-data/templates vhosts.conf.template, 1.22, 1.23
Joerg Delker <[email protected]> Thu, 07 Jun 2007 12:22:25 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/install-data/templates
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16464/install-data/templates
Modified Files:
vhosts.conf.template
Log Message:
added SuExec directives
modified mod_authnz_ldap directives
Index: vhosts.conf.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/vhosts.conf.template,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- vhosts.conf.template 18 Feb 2007 13:57:45 -0000 1.22
+++ vhosts.conf.template 7 Jun 2007 12:22:23 -0000 1.23
@@ -12,14 +12,22 @@
$ServerAliases </perl>
<perl>$urlredirect</perl>
DocumentRoot <perl>$documentroot</perl>
- CustomLog <perl>"$logdir/$servername.access"</perl> combined
- ErrorLog <perl>"$logdir/$servername.errors"</perl>
+
<Directory <perl>$documentroot</perl>>
<perl>$ispmanVhostDocumentRootOption</perl>
AllowOverride FileInfo AuthConfig Limit Indexes
</Directory>
<perl>$statalias</perl>
+ ## if you want individual vhost logging instead of using ispman.vlogger
+ ## uncomment the following
+ ## CustomLog <perl>"$logdir/$servername.access"</perl> combined
+ ErrorLog <perl>"$logdir/$servername.errors"</perl>
+
+ <IfModule mod_suexec.c>
+ SuexecUserGroup "#<perl>$uidNumber</perl>" "#<perl>$gidNumber</perl>"
+ </IfModule>
+
<perl>
if($ispmanVhostScriptDirOption =~ /ExecCGI/) {
$OUT .= " ScriptAlias /cgi-bin/ $scriptdir/\n";
@@ -58,8 +66,13 @@
AuthName "WebStats for $servername"
AuthBasicProvider ldap
AuthLDAPURL ldap://$ldapHost/$ldapBaseDN?uid
- require ldap-user ou=users,ispmanDomain=$ispmanDomain,$ldapBaseDN
- require valid-user ou=admins,$ldapBaseDN
+ ## If your LDAP requires binding:
+ ## add user "proxyuser" with access level 1 via ispman admin panel
+ ## and uncomment the following
+ #AuthLDAPBindDN uid=proxyuser,ou=admins,$ldapBaseDN
+ #AuthLDAPBindPassword <password>
+ AuthzLDAPAuthoritative Off
+ require ldap-filter |(&(objectclass=person)(ispmanDomain=$ispmanDomain))(objectclass=ispmanSysAdmin)
</IfModule>
</Directory>
|;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/