[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!

5.8

Apache and multiple linux accounts

Asked by BenMorel in Apache Web Server

Tags: rhel

Hello all,

I'm running apache 2.046 on RHEL (RedHat enterprise Linux) 3.
I've got several websites, and multiple developers who will access a couple of them.
I'll create them linux system accounts, and for example :
 - user1 will manage site1 and site2 : /home/user1/site1.com & /home/user1/site2.com
 - user2 will manage site3 and site4 : /home/user1/site3.com & /home/user1/site4.com
So, site1 and site2 can communicate, exchange files for example.
But of course, user1 can NOT access user2's files, even for reading.
Till here, no problem.

BUT apache can only run one user at the same time (usually "nobody" or, in my config, "apache").
So I need apache to access all the users' files, (but not run as root), and process them with the user's rights.
In fact, I need apache to run, and run php module, as user1 in site1 and site2, and as user2 in site3 and site4.

The problem is :
- Apache can not do that (User/Group is not allowed inside a <VirtualHost>).
- SuExec provides a solution for PHP, but only in CGI mode. I need php to run as a module. Furthermore, apache will not be able to access users files (owned by the user & chmoded 600), because SuExec works only on CGIs.
- SuPHP (or phpSuExec) provide another solution, but in fact it runs PHP as a CGI. And the above problem is still there.
- I can not use safe mode, because it is too restrictive (some scripts need access to shells, for example).
- Apache Perchild MPM is a good solution, maybe the best here, because it can run apache instances as other users than apache, at runtime. But since 2000 it is still under development, and not for use in a production environment.


Any help greatly appreciated.
Thanks.
Ben
[+][-]05/29/05 02:05 PM, ID: 14105592Accepted 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: rhel
Sign Up Now!
Solution Provided By: idmisk
Participating Experts: 2
Solution Grade: B
 
[+][-]05/29/05 02:07 PM, ID: 14105596Expert 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.

 
[+][-]05/29/05 08:19 PM, ID: 14106405Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]05/30/05 05:03 AM, ID: 14107652Author 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.

 
[+][-]05/30/05 05:04 AM, ID: 14107658Author 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.

 
[+][-]05/30/05 05:23 AM, ID: 14107719Expert 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.

 
[+][-]05/30/05 05:42 AM, ID: 14107797Author 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.

 
[+][-]05/30/05 06:16 AM, ID: 14107916Expert 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.

 
[+][-]05/30/05 06:25 AM, ID: 14107952Author 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.

 
[+][-]05/30/05 03:05 PM, ID: 14109904Expert 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.

 
[+][-]05/30/05 03:24 PM, ID: 14109949Author 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.

 
[+][-]06/20/05 03:36 PM, ID: 14261357Author 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.

 
[+][-]06/20/05 03:57 PM, ID: 14261483Author 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...
20091118-EE-VQP-93