Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

A Selection of the Very Best Open Source Tutorials and Tools

Android Ice Cream Sandwich ported to x86 tablets, netbooks and notebooks

SECURITY: Google Chrome 17 Improves Security

How to read a CSV file in Perl?

Red Hat Brings Gluster to Amazon Cloud

New Linux kernel fixes power-saving issues

Using Wii remote with Android Device- Taking Gaming to the Next Level

Commercial Support now available for the open-source NGINX Web server

Linux Top 5: Linux's New Fellow

RebeccaBlackOS - First Live CD Running Wayland Display Server



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:Apache Today: Perchild: Setting Users and Groups per Virtual Host
Apache Today: Perchild: Setting Users and Groups per Virtual Host
Aug 18, 2000, 15 :33 UTC (0 Talkback[s]) (4621 reads)

(Other stories by Ryan Bloom)

[ Thanks to Kevin Reichard for this link. ]

"One of the biggest problems with administering a major server housing multiple sites is restricting access to the sites to only those people responsible for maintaining a specific site. The reason for this is that all of the Apache child processes run with the same user and group Id. Therefore, all of the files need to be readable, writable, and executable by the user and group that the server is running as. This becomes a much bigger issue when you add CGI and PHP scripts to the site. If those scripts must access private information, then that information must be stored with relatively insecure user and group Ids."

"Apache 1.3 solved this problem by introducing suexec, which introduces other problems and PHP and mod_cgi can not take advantage of it. Apache 2.0 has introduced a new MPM to solve this problem in a more elegant way that all scripts can take advantage of."

"The new MPM is called Perchild, and it is based on the Dexter MPM. This means that a set number of child processes are created and each process has a dynamic number of threads. In this MPM it is possible to specify User and Group IDs for clusters of child process. Then, each virtual host is assigned to run in a specific cluster of child processes. If no cluster of child processes is specified, then the virtual host is run with the default User and Group Ids."

Complete Story

Related Stories:
Apache Today: Apache in a Wireless World(Aug 17, 2000)
OLinux.com.br: Apache: the star of Open Source World [Brian Behlendorf interview](Aug 15, 2000)
Apache Today: Apache Guide: Apache Authentication, Part 4(Aug 14, 2000)
LinuxWorld AU: Measuring Apache's success: does the pornography industry hold the key?(Aug 09, 2000)
Apache Today: PHP on Apache: The Definitive Installation Guide(Aug 09, 2000)
CNET News.com: Apache Web software on verge of major revision(Aug 08, 2000)
Apache Today: Apache Guide: Apache Authentication, Part 3(Aug 07, 2000)
Apache Today: The Perl Basics You Need To Know(Aug 02, 2000)
Apache Today: Apache Guide: Apache Authentication, Part 2(Jul 31, 2000)
Eunuchs.org: Mohawk 0.1 [Apache server configuration GUI](Jul 28, 2000)
Apache Today: Apache Usage in the Most Popular Web Sites: Take That, ENT(Jul 27, 2000)
ApacheWeek: O'Reilly Open Source Conference: Day 1 & 2(Jul 26, 2000)
Apache Today: Apache Guide: Apache Authentication, Part 1(Jul 24, 2000)
Apache Today: Web Servers of the Fortune 500: A Dissection and Analysis(Jul 21, 2000)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP