Gossamer Forum
Quote Reply
SuExec
So suExec is not turned on by deafult?

How do I enable it when the server is already compiled and running?Unsure

Server version: Apache/1.3.26 (Darwin)
Server built: 07/27/02 14:29:15
Quote Reply
Re: [Ian] SuExec In reply to
Do you have it installed?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Ian] SuExec In reply to
You need to add:

User username
Group groupname

to your <VirtualHost> to tell Apache what user/group to run cgi scripts as.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SuExec In reply to
OMG Alex..what are you doing up at 2am Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Alex] SuExec In reply to
That easy eh?

Thanks very much Alex. Cool


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] SuExec In reply to
How can i se if SuExec is installed ?
Quote Reply
Re: [NamedRisk] SuExec In reply to
Hi,

suexec -V

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] SuExec In reply to
How can i install suexec or how it works.
Quote Reply
Re: [NamedRisk] SuExec In reply to
I am not sure.
The suexec's configuration can be configured when your apache is installed with binary source. The rpm package has set its default values. I have just found this last week when I can config my apahce for UserDir used.

Please find more information on http://www.apache.org.

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] SuExec In reply to
Yes man, i found on google =] thanks a lot.

I'm dude huahua think that suexec it's another program but not, it's a feature of apache =].

THANKS Sly
Quote Reply
Re: [NamedRisk] SuExec In reply to
yo cool...

suexec -V
-D DOC_ROOT="/usr/local/apache/htdocs"
-D GID_MID=49
-D HTTPD_USER="www"
-D LOG_EXEC="/usr/local/apache/logs/suexec_log"
-D SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D UID_MID=100
-D USERDIR_SUFFIX="public_html"

how can i especific a path into the virtualhost to cgi works or i need to add anything into de cgi ?
Quote Reply
Re: [NamedRisk] SuExec In reply to
Thanks for the help, now i'm using suexec =] very easy.

for who want's....

cd apache_1.3.27
./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd --htdocsdir=/var/www --enable-module=all --enable-module=rewrite --enable-suexec --suexec-caller=www --suexec-gidmin=49 --suexec-uidmin=100 --suexec-docroot=/home
make && make install

--enable-suexec = enable him
--suexec-caller=www = group that I run my apache
--suexec-gidmin=49 = min group id group require to run suexec
--suexec-uidmin=100 = min user id group require to run suexec
--suexec-docroot=/home = if your web clients stay on /home/user use like this if you change, but a directory aff user path to work for other user into the same path.

sorry my bad english. Crazy