Ok, I need major help here, so I'm putting up a motherload of points. I've posted my problem on other forums, and barely gotten a response in the last 2 weeks, so I'm desperate for some good help. Here goes...
I originally had apache 2.0.40 installed when RH9 was installed on the machine. So the only thing I had to do was adjust the httpd.conf files. I now have SSL, PHP and other things working fine, and I want to add suexec to my configuration.
On the old installation, when I run apachectl -l I got...
core.c
prefork.c
http_core.c
mod_so.c
I have been told that I need to recompile apache in order to add suexec functionality. Ok, no problem. I have downloaded the source code for the version I'm running and used the following options when I run ./configure...
./configure \
--with-suexec-docroot=/hom
e \
--enable-suexec \
--with-suexec-caller=apach
e \
--with-suexec-logfile=/var
/log/apach
e/suexec_l
og \
--with-suexec-userdir=html
\
--with-suexec-uidmin=508 \
--with-suexec-gidmin=508 \
--with-suexec-safepath=/us
r/local/bi
n:/usr/bin
:/bin
Now when I run it, I get...
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_suexec.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
This is an awful lot of options, so my first question is how can I remove the extra junk that I don't want? I really need to investigate what each of them does so I can decide which ones I don't want, but for now, I just need to know how to remove some of this stuff?? Other config commands that remove these options??? I have looked at ./configure --help, but this didn't enlighten me, and I've googled myself silly trying to find the answer, to no avail.
Now, to continue...
I took my previous httpd.conf and ssl.conf files and transferred a bunch of my stuff from the old conf files to the new ones. Most everything works now except for SSL and PHP.
When I call a page in my browser that is supposed to be SSL enabled, it gives me the standard "page cannot be displayed" message and nothing appears in my logs. By stripping off the "S" from https, I can view the page, but without SSL support from the browser.
When I open a PHP webpage into my browser, it shows me all of the raw PHP code.
Is there something I need to do in order to enable SSL and PHP on my apache installation???