ispCP - Board - Support
SuExecUserGroup - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: SuExecUserGroup (/thread-554.html)

Pages: 1 2 3


SuExecUserGroup - edony44 - 05-14-2007 08:17 PM

I have not found anything about that so maybe it will help,

When you add a sub domain :

ex:
your are owner of mydomain.com

you have a domain : test.mydomain.com

and you add alpha.test.mydomain.com

then when ispcp generate your conf file for apache it don't catch
SuExecUserGroup with a <if mod_fast_cgi...>...<...>
So apache stop but not restart !!

Is it anything wrong or just a little bug !!
I 'm using the rc2b on ubuntu ( installed with the perfect setup) and anything else work for the moment


RE: SuExecUserGroup - ephigenie - 05-14-2007 08:21 PM

SuExecUserGroup is not mod_php related - its related to mod_suexec.

Your apache shouldn't complain about it, because the same directive is in all the other hosts, too ...


RE: SuExecUserGroup - edony44 - 05-14-2007 08:31 PM

ephigenie Wrote:SuExecUserGroup is not mod_php related - its related to mod_suexec.

Your apache shouldn't complain about it, because the same directive is in all the other hosts, too ...

... I'm sorry i didn't want to write mod_php but mod_fastcgi!!

What i try to say is that when ispcp make a domaine , SuExecUserGroup is between <if ...> and <...> :

#
#User vu2003
#Group vu2003
#

<IfModule mod_fastcgi.c>
SuexecUserGroup vu2003 vu2003
</IfModule>


but not when it make a sub-domains , it put SuexecUserGroup without catching..

#
#User vu2003
#Group vu2003
#

SuexecUserGroup vu2003 vu2003


and it cause a trouble to apache which don't restart :

* Starting web server (apache2)...
Syntax error on line 224 of /etc/apache2/sites-enabled/ispcp.conf:
Invalid command 'SuexecUserGroup', perhaps misspelled or defined by a module not included in the server configuration
...fail!


RE: SuExecUserGroup - joximu - 05-14-2007 10:22 PM

So, you don't use fastcgi? Otherwise apache won't complain...

But yes: in my installation, I also have this in a subdomain-config (w/o empty lines)

#
#User vu2004
#Group vu2004
#
SuexecUserGroup vu2004 vu2004
ServerAdmin root@guggi.asdfg.ch

I don't care because I'm using fastcgi...

/Joxi


RE: SuExecUserGroup - edony44 - 05-14-2007 10:25 PM

joximu Wrote:So, you don't use fastcgi? Otherwise apache won't complain...

But yes: in my installation, I also have this in a subdomain-config (w/o empty lines)

#
#User vu2004
#Group vu2004
#
SuexecUserGroup vu2004 vu2004
ServerAdmin root@guggi.asdfg.ch

I don't care because I'm using fastcgi...

/Joxi

hum tkx for answering ... not very helpful .. should i need to activate fast-cgi ? and or why isn't it activated by ispcp during installl ??


RE: SuExecUserGroup - joximu - 05-14-2007 11:10 PM

*If* youm have installed the right apach_module it shoul be working...

what files do you have in /etc/apache2/modules-enabled/ ?


RE: SuExecUserGroup - edony44 - 05-14-2007 11:16 PM

joximu Wrote:*If* youm have installed the right apach_module it shoul be working...

what files do you have in /etc/apache2/modules-enabled/ ?

ok right i've installed suexec module .. so it's works.... i don't know exactly if it this module which activate fastcgi but i 've not found any module called fast-cgi

[Image: modules.bmp]


RE: SuExecUserGroup - joximu - 05-14-2007 11:21 PM

I have theese in my mods-enabled:

actions.load
alias.load
auth_basic.load
authn_file.load
authz_default.load
authz_groupfile.load
authz_host.load
authz_user.load
autoindex.load
cgid.conf
cgid.load
dir.conf
dir.load
env.load
fastcgi.conf
fastcgi.load
mime.load
negotiation.load
rewrite.load
setenvif.load
status.load
suexec.load

they are all symlinks to mods-available. You need this package installed libapache2-mod-fastcgi (not in etch - see installation) and you won't need the php5.* in the mods-enabled

Joximu


RE: SuExecUserGroup - edony44 - 05-14-2007 11:41 PM

joximu Wrote:I have theese in my mods-enabled:

actions.load
alias.load
auth_basic.load
authn_file.load
authz_default.load
authz_groupfile.load
authz_host.load
authz_user.load
autoindex.load
cgid.conf
cgid.load
dir.conf
dir.load
env.load
fastcgi.conf
fastcgi.load
mime.load
negotiation.load
rewrite.load
setenvif.load
status.load
suexec.load

they are all symlinks to mods-available. You need this package installed libapache2-mod-fastcgi (not in etch - see installation) and you won't need the php5.* in the mods-enabled

Joximu

yes i've done that BUT if a enable fastcgi ONLY MYDOMAIN.COM work but admin.Mydomain.com doesn't work anymore and all the subdomain too


RE: SuExecUserGroup - edony44 - 05-14-2007 11:57 PM

i ask myself ...

Should i comment line application/x-httpd-php( like that ) in MIME.TYPE and in
another file (php5.conf i think) if i enable fastcgi ??

i've try to comment the line in this 2 file but always the same result

mydomain.com work but subdomain are not found and admin.mydomain.com put me a download page with application/x-httpd-php