apache not working

General support questions
Post Reply
evansmb
Posts: 8
Joined: 2014/08/10 20:23:07

apache not working

Post by evansmb » 2014/08/13 00:49:24

I installed the web server from the centos install disk. But apache doesn't seem to answer requests. I've disabled selinux, I have verified http request are getting to the box with tcpdump. apache is running. there was no index file so created one and set the owner to the apache user. When I look at the access_log and error_log it doesn't show any new logs from the previous attempt to access the index file. Would any one have any suggestions for resolving this issue?

User avatar
TrevorH
Forum Moderator
Posts: 29932
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: apache not working

Post by TrevorH » 2014/08/13 01:15:05

Did you open the firewall? Try firewall-cmd --add-service=http and if that works the run the same command again with --permanent to make it... permanent ;-)
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”