httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <RDNel...@Mail.Donaldson.com>
Subject RE: help with startup httpd
Date Thu, 08 Aug 2002 16:12:53 GMT
Leon:

Any user can install Apache as long as that user has permissions on the
server to do so.  Generally you will want to run Apache as it's own user
with little or no permissions outside of its own files or as the user nobody
(available on some Unix systems).

Generally you would bind Apache to port 80 for HTTP traffic and port 443 for
HTTPS traffic.  To do this you need to start it up as root.  Once the server
is started it should change to a less dangerous user by using the "User" and
"Group" directives in the httpd.conf file.  I believe this user/group change
can be done by virtual host in Apache 2, although I'm no expert on that.

Take a look at the following documentation:

 Starting > http://httpd.apache.org/docs-2.0/invoking.html
 User Directive > http://httpd.apache.org/docs-2.0/mod/mpm_common.html#user
 Group Directive >
http://httpd.apache.org/docs-2.0/mod/mpm_common.html#group

 ~ Robert


-----Original Message-----
From: Leon Do [mailto:leondo@lucent.com]
Sent: Thursday, August 08, 2002 11:04 AM
To: users@httpd.apache.org
Subject: help with startup httpd


Can a normal user/group account install and run httpd or it needs
special privilege like super user?

thanks

--
Leon Do



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message