ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Feedback & Feature Requests (http://forum.ispsystem.com//forumdisplay.php?f=9)
-   -   FEATURE: __user__ macro in virtual host creation (http://forum.ispsystem.com//showthread.php?t=251)

GlennMatthys 07-16-2008 01:31 PM

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.

Wishmaster 07-24-2008 07:26 AM

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?

GlennMatthys 07-24-2008 10:22 AM

Parameters like that are useful for, for example, mod_ruid.

Wishmaster 07-25-2008 03:10 AM

__SuexecUserGroup__ will do

The template must have lines in it that look like this:
---------------------------------
SuexecUserGroup __SuexecUserGroup__
RUidGid __SuexecUserGroup__
RMode config
RGroups apachetmp
---------------------------------

GlennMatthys 07-25-2008 10:10 AM

What if I would want to use for example, "RUidGid nobody ispmanagergenerateduser"?

Wishmaster 07-28-2008 04:20 AM

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


All times are GMT +2. The time now is 11:39 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.