Re: Apache For Truly Dumb People

  • From: "E.J. Zufelt" <lists@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Tue, 15 Mar 2011 09:11:09 -0400

Hi Jim,

You almost always need to restart Apache as root.

HTH,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



On 2011-03-15, at 9:08 AM, Homme, James wrote:

> Hi,
> This sentence comes from the book called The Apache Phrase Book. On Unix, if 
> Apache binds to a privileged port (those between 1–1024), you will need root 
> privileges to start the server. I ran a PHP script that uses phpinfo() to 
> dump the information about my server. It spit out this line.
> Hostname:Port www.example.com:0, where www.example.com is my web site. Does 
> this mean that even if I don't have root priveleges that I can change the 
> httpd.cnf file and restart the server?
>  
> Thanks.
>  
> Jim
> 
> This e-mail and any attachments to it are confidential and are intended 
> solely for use of the individual or entity to whom they are addressed. If you 
> have received this e-mail in error, please notify the sender immediately and 
> then delete it. If you are not the intended recipient, you must not keep, 
> use, disclose, copy or distribute this e-mail without the author's prior 
> permission. The views expressed in this e-mail message do not necessarily 
> represent the views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: