CVS: ispman/lib/ISPMan ApacheMan.pm,1.37,1.38
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1:/tmp/cvs-serv12294
Modified Files:
ApacheMan.pm
Log Message:
fixed vhost uid bug
(vhosts got the same uid assigned as their domain, which was hopefully not done on purpose, because it has some very unpleasant implications)
Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** ApacheMan.pm 6 Jan 2004 21:31:50 -0000 1.37
--- ApacheMan.pm 6 Jan 2004 21:37:18 -0000 1.38
***************
*** 276,280 ****
"ispmanVhostName" => $r->param("ispmanVhostName"),
"cn" => (join '.', ($r->param("ispmanVhostName"), $domain)),
! 'uidNumber' => $domain_info->{'uidNumber'},
'gidNumber' => $domain_info->{'gidNumber'},
"ispmanDomain" => $domain,
--- 276,280 ----
"ispmanVhostName" => $r->param("ispmanVhostName"),
"cn" => (join '.', ($r->param("ispmanVhostName"), $domain)),
! 'uidNumber' => $self->getUid(),
'gidNumber' => $domain_info->{'gidNumber'},
"ispmanDomain" => $domain,
***************
*** 336,341 ****
$data->{"ispmanVhostDocumentRoot"},
$data->{"ispmanVhostScriptDir"},
! $domain_info->{'uidNumber'},
! $domain_info->{'gidNumber'},
$data->{"ispmanVhostLogdir"},
$data->{"ispmanVhostStatdir"}
--- 336,341 ----
$data->{"ispmanVhostDocumentRoot"},
$data->{"ispmanVhostScriptDir"},
! $data->{'uidNumber'},
! $data->{'gidNumber'},
$data->{"ispmanVhostLogdir"},
$data->{"ispmanVhostStatdir"}
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click