Go Back   ISPsystem.com Forums > ISPmanager > Feedback & Feature Requests

Notices

Reply
 
Thread Tools
Old 07-16-2008, 01:31 PM   #1
Junior Member
 
Join Date: Jul 2008
Posts: 15
GlennMatthys is on a distinguished road
Default 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.
GlennMatthys is offline   Reply With Quote
Old 07-24-2008, 07:26 AM   #2
Senior Member
 
Join Date: Jun 2007
Posts: 105
Wishmaster is an unknown quantity at this point
Default

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?
Wishmaster is offline   Reply With Quote
Old 07-24-2008, 10:22 AM   #3
Junior Member
 
Join Date: Jul 2008
Posts: 15
GlennMatthys is on a distinguished road
Default

Parameters like that are useful for, for example, mod_ruid.
GlennMatthys is offline   Reply With Quote
Old 07-25-2008, 03:10 AM   #4
Senior Member
 
Join Date: Jun 2007
Posts: 105
Wishmaster is an unknown quantity at this point
Default

__SuexecUserGroup__ will do

The template must have lines in it that look like this:
---------------------------------
SuexecUserGroup __SuexecUserGroup__
RUidGid __SuexecUserGroup__
RMode config
RGroups apachetmp
---------------------------------
Wishmaster is offline   Reply With Quote
Old 07-25-2008, 10:10 AM   #5
Junior Member
 
Join Date: Jul 2008
Posts: 15
GlennMatthys is on a distinguished road
Default

What if I would want to use for example, "RUidGid nobody ispmanagergenerateduser"?
GlennMatthys is offline   Reply With Quote
Old 07-28-2008, 04:20 AM   #6
Senior Member
 
Join Date: Jun 2007
Posts: 105
Wishmaster is an unknown quantity at this point
Default

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
Wishmaster is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:56 AM.