[prev in list] [next in list] [prev in thread] [next in thread]
List: ispman-users
Subject: [Ispman-users] Apache vhost User/Group setting to support suexec
From: "John Barrett" <jbarrett () qx ! net>
Date: 2003-01-31 4:05:06
[Download RAW message or body]
Add to templates/vhosts.conf.template:
User "#<perl>$uidNumber</perl>"
Group "#<perl>$gidNumber</perl>"
Add to lib/http.lib
$vhostHash->{$domain}{$vh}{'uidNumber'}= $ispman->getDomainInfo($domain)->{'uidNumber'};
$vhostHash->{$domain}{$vh}{'gidNumber'}= $ispman->getDomainInfo($domain)->{'gidNumber'};
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Add to templates/vhosts.conf.template:</FONT></DIV>
<DIV><FONT face=Arial size=2>
User
"#<perl>$uidNumber</perl>"<BR>
Group
"#<perl>$gidNumber</perl>"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Add to lib/http.lib </DIV>
<DIV><BR>
$vhostHash->{$domain}{$vh}{'uidNumber'}=
$ispman->getDomainInfo($domain)->{'uidNumber'};<BR>
$vhostHash->{$domain}{$vh}{'gidNumber'}=
$ispman->getDomainInfo($domain)->{'gidNumber'};<BR></DIV>
<DIV> </DIV></FONT></FONT></DIV></BODY></HTML>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic