07-16-2008, 01:31 PM | #1 |
Junior Member
Join Date: Jul 2008
Posts: 15
|
FEATURE: __user__ macro in virtual host creation
When a virtual host is created, according to the documentation, the following macros are available:
__bind__ - address:WWW domain port. __DOCROOT__ is a WWW domain root directory. It provides more detailed setting for logs analyzers. __ServerName__ is WWW domain name. Is it possible to add __user__ below that? It should expand to the system user the virtual host was created under. |
07-24-2008, 07:26 AM | #2 |
Senior Member
Join Date: Jun 2007
Posts: 105
|
Macro available for :
apache 1 - __User__ and __Group__ apache 2 - __SuexecUserGroup__ tell me more and i'll be able to give you some hints on how to do this? |
07-25-2008, 03:10 AM | #4 |
Senior Member
Join Date: Jun 2007
Posts: 105
|
__SuexecUserGroup__ will do
The template must have lines in it that look like this: --------------------------------- SuexecUserGroup __SuexecUserGroup__ RUidGid __SuexecUserGroup__ RMode config RGroups apachetmp --------------------------------- |
07-25-2008, 10:10 AM | #5 |
Junior Member
Join Date: Jul 2008
Posts: 15
|
What if I would want to use for example, "RUidGid nobody ispmanagergenerateduser"?
|
07-28-2008, 04:20 AM | #6 |
Senior Member
Join Date: Jun 2007
Posts: 105
|
no. the only thing you can do is to create an event handler for the www domain creation' event. then modify its config the way you want
|
|
|