Results 1 to 3 of 3
I used "yum install httpd" to install Apache, I noticed that httpd is now installed in two places:
/etc/init.d/httpd
/etc/rc.d/init.d/httpd
Which one is the correct httpd install and what is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-30-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 11
/etc/init.d/httpd & /etc/rc.d/init.d/httpd
I used "yum install httpd" to install Apache, I noticed that httpd is now installed in two places:
/etc/init.d/httpd
/etc/rc.d/init.d/httpd
Which one is the correct httpd install and what is the difference between the /etc/init.d/ & /etc/rc.d/init.d/ folder.
Thanks for your help.
- 07-30-2007 #2Just Joined!
- Join Date
- Jul 2007
- Location
- At Home
- Posts
- 8
HTTP Configuration
Hi,
As you have used yum it will online install apache. The path /etc/rc.d/init.d/httpd is the service path through which you can control the start/stop service , where as the httpd.conf file which is use to configure the apache shud be in /etc/init.d/httpd.
Please check it n reply.
Thx
- 07-30-2007 #3Just Joined!
- Join Date
- Jul 2007
- Posts
- 11
httpd is installed in two different places
Hi
Thanks for your reply. The same httpd file is installed in two different locations:
# ls /etc/init.d/httpd -l
-rwxr-xr-x 1 root root 3201 Jul 14 08:56 /etc/init.d/httpd
# ls /etc/rc.d/init.d/httpd -l
-rwxr-xr-x 1 root root 3201 Jul 14 08:56 /etc/rc.d/init.d/httpd
I've been using:
/etc/init.d/httpd restart
for restarting Apache.
Your help is appreciated.


Reply With Quote
