[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.2

Apache suexec

Asked by Donboy in Apache Web Server

Tags: apache, module, cannot, suexec

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=/home \
--enable-suexec \
--with-suexec-caller=apache \
--with-suexec-logfile=/var/log/apache/suexec_log \
--with-suexec-userdir=html \
--with-suexec-uidmin=508 \
--with-suexec-gidmin=508 \
--with-suexec-safepath=/usr/local/bin:/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???
[+][-]10/31/03 07:32 AM, ID: 9658193Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Apache Web Server
Tags: apache, module, cannot, suexec
Sign Up Now!
Solution Provided By: heskyttberg
Participating Experts: 1
Solution Grade: A
 
[+][-]10/31/03 07:35 AM, ID: 9658208Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/31/03 01:40 PM, ID: 9660680Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/02/03 01:39 AM, ID: 9665404Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/03 07:11 PM, ID: 9668278Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/03 01:24 AM, ID: 9669649Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/03 09:54 PM, ID: 9676489Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/03 11:02 PM, ID: 9676687Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/04/03 12:04 AM, ID: 9676911Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/03 01:13 AM, ID: 9677137Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/03 09:56 AM, ID: 9680240Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/04/03 10:50 PM, ID: 9684774Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/03 04:48 AM, ID: 9686224Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/03 10:10 AM, ID: 9688819Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89