Suexec with Apache 1.3.29
Mikkel Christensen
mikkel at talkactive.net
Wed Apr 28 12:17:02 PDT 2004
On Tuesday 27 April 2004 09:43, Peter Risdon wrote:
> Mikkel Christensen wrote:
> >On Tuesday 27 April 2004 08:55, Peter Risdon wrote:
>
> It did sound as though it might be working already, if I remember your
> earlier posts correctly. As discussed above, your php scripts will not
> run suexec even if suexec is working properly. No entries will appear in
> /var/log/httpd-suexec.log when you run one of the php scripts because it
> isn't running suexec. That's not a fault, it's how it is meant to work.
> Have you tried a perl cgi script just to test the principle?
This isn't about php at all. I know that mod_php will never run as suexec and I'm not trying to do so either. Neither am I trying to get php to run under suexec as CGI.
This is about Perl scripts only.
> I might have missed this in an earlier post, but when apache starts do
> you get lines in your /var/log/httpd-error.log like this:
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
>
It don't output the line above. But everything seems to be right.
Apache tells me suexec is there and that it is properly configured to. The suEXEC log-line is not comming but still it's loaded in some way.
What I would like to know is if any of you can point out anything in the configuration I posted earlier that could possibly lead to problems.
Could the way Apache handles CGI-scripts be the problem? It's not determined by extension, it simply tries to execute everything in the cgi-bin directory.
- Mikkel
More information about the freebsd-questions
mailing list