Default Apache Installation Directory

Phil Dybvig fedora at ducksoup.afree.net
Sun Jul 11 16:09:54 UTC 2004


Daniel and Alexander --

> valid commands are:
>
> 1) service httpd restart
> 2) apachectl  restart    or   apachectl graceful

These are equivalent to

  /etc/rc.d/init.d/httpd restart
  
(and avoid memorizing the path to the init scripts) but only if /usr/sbin is in 
$PATH.  But /usr/sbin is not in the default $PATH, or Daniel would have seen the 
binary /usr/sbin/httpd.  /usr/sbin can be added to the default path a lot of 
ways, e.g. using lines in .bash_profile

  PATH=/usr/sbin:$PATH
  export PATH

-- Phil





More information about the fedora-list mailing list