Re: Wishlist: suexec support per Domain + default
Joerg Delker <[email protected]> Mon, 29 May 2006 21:17:06 +0200
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
Andreas John wrote: > Hi, > > as discussed on IRC I would like to have a feature that makes it > possible, to add suexec to a vhost. > > Currently I patch vhosts.conf.template by adding those lines: > > User "#<perl>$uidNumber</perl>" > Group "#<perl>$gidNumber</perl>" > RLimitMEM 200000000 > > I would like to see checkboxes in the admin/vhost area to set those > values (That last one is not for suexec. but memory limit per vhost). > > The first two lines could be checkboxes per vhost, the last on a freely > configurable value. It would be also nice, to be able to set default > values for those in configure.... Hmmm... difficult. At the moment that would require a ldap schema change, because there is no attribute where we could save that information. You can certainly put that manually in the ispmanVhostExtraConf field. I believe the most pragmatic approach would be to put some javascript into the edit vhost template (/ispman-web/cgi-bin/tmpl/vhosts/edit.tmpl) that renders you some default config inside the ExtraConf field. Joerg
smime.p7s
(application/x-pkcs7-signature, 3.2 KB) - not displayed