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
Site Admin
Posts: 33219
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 ;-)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply