Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Enable suexec support in 10.4 Internet
I finally got suexec working correctly in 10.4.6, and it's pretty simple. Download Apache 1.3.3 and configure/build with the following commands:
$ ./configure --with-layout=Darwin \
--enable-suexec \
--suexec-caller=www \
--suexec-docroot=/Library/WebServer/Documents \
--suexec-userdir=Sites
$ make -j2
After it's done building, just copy the suexec executable to /usr/sbin, and make it setuid root:
$ sudo cp src/support/suexec /usr/sbin/suexec 
$ chmod 4755 /usr/sbin/suexec
Now restart Apache, and you're all set:
sudo apachectl restart
[robg adds: I haven't tested this one.]
    •    
  • Currently 1.50 / 5
  You rated: 3 / 5 (6 votes cast)
 
[8,123 views]  

10.4: Enable suexec support in 10.4 | 5 comments | Create New Account
Click here to return to the '10.4: Enable suexec support in 10.4' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Enable suexec support in 10.4
Authored by: kkL on Jun 15, '06 09:47:44AM

sudo works for me, and I haven't compiled it. Maybe it's bundled with Fink?



[ Reply to This | # ]
OOPS. Please disregard my comment
Authored by: kkL on Jun 15, '06 09:49:13AM

I misunderstood the hint.



[ Reply to This | # ]
10.4: Enable suexec support in 10.4
Authored by: boredzo on Jun 15, '06 10:48:56AM

If you're wondering what suexec is and why it's a good thing, check out Apache's suexec documentation.



[ Reply to This | # ]
10.4: Enable suexec support in 10.4
Authored by: boredzo on Jun 15, '06 10:53:28AM

Also, I advocate using apachectl graceful rather than apachectl restart.



[ Reply to This | # ]
10.4: Enable suexec support in 10.4
Authored by: jaydisc on Jun 15, '06 03:28:04PM

apachectl graceful is NOT ENOUGH to get apache to load suexec. You must use restart or stop/start.



[ Reply to This | # ]