Suexec with Apache 1.3.29
Marty Landman
MLandman at face2interface.com
Mon Apr 26 14:49:06 PDT 2004
At 05:26 PM 4/26/2004, Mikkel Christensen wrote:
>I've tried numerous times but never succeded in getting suexec to work
>properly.
It's deja vu all over again for me Mikkel.
>But it just never works.
>Execution of CGI works perfectly. But it keeps running as the www-user.
Sounds like suexec didn't get compiled into Apache, at least the one you're
running.
>"[notice] suEXEC mechanism enabled (wrapper: /path/to/suexec)"
>But this never shows.
Then my guess is that suexec isn't running.
>httpd-suexec.log shows absolutely nothing.
More reason to think that suexec isn't running - unless you're looking at
the wrong log. There should be stuff like this on there
[2004-03-02 16:28:15]: info: (target/actual) uid: (marty/marty) gid:
(marty/marty) cmd: test.cgi
An easy check is to make sure the path is right by looking in the directory
for the timestamps of the other files. My apache/logs dir also contains
httpd.pid, error_log, and access_log. I believe those are the defaults
according to httpd.conf. So if you
restart apache
access a page
attempt to access a page that doesn't exist
then those other three files should all have gotten stuff written on them.
>Now what do I do? There is no error-output at all so I don't have a clue
>of what is wrong.
Mikkel, is it possible that you've installed Apache more than once w/o
totally clearing out the old install? In that case (I say this from
somewhat confusing if not bitter experience) then it will be dodgy to know
what you're executing, e.g. the logs may not be the active ones, or the
apache you're running may not be the one compiled with suexec (my guess is
#2 fwiw).
Perhaps I shouldn't have even spoken up. Getting suexec running was a royal
pain in the butt for me though finally got it done. And after all that...
well it's just running, y'know? Will probably feel the same way when I get
a reasonable understanding of email.
Marty
Marty Landman Face 2 Interface Inc. 845-679-9387
Web Installed Formmailer: http://face2interface.com/Products/Formal.shtml
FormATable DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
More information about the freebsd-questions
mailing list