Any Apache Gurus here?

DeaconFrost

[H]F Junkie
Joined
Sep 6, 2007
Messages
11,582
I'm still a beginner in the Linux world, so I'm trying to set up a basic web server on our network. It's running CentOS7 and Apache, will all updates applied. The welcome landing page loaded properly, and I have http and https opened in the firewall.

If I comment out the lines in welcome.conf to load another page, I get the Forbidden - You don't have permission to access / on this server error message. I have a basic index.html file saved in /var/www/html/ but I'm at a loss as to how to fix this. From Googling, I believe it has to do with permissions, or maybe how the http.conf is set. I haven't made any changes to that file, but can anyone direct me to the fix? Remember, I'm still a Linux noob, but comfortable typing in terminal commands, etc.
 
My stint with setting up a basic web page on an OpenBSD server was almost two decades ago but I do recall that I needed to include a .htaccess file 'allowing' the Apache server to serve up pages for people who were not users of the machine.
 
I know I had to create an .htaccess file for my hosting company so I could view the directory of image files. I'll look into this, as I've seen it mentioned.

UPDATE: No dice. I copied the .htaccess from my webhost, still getting the Forbidden message.
 
Last edited:
That looks to be very informative, and potentially over my head, but I'm going to check it out...slowly. Thanks!
 
Back
Top