These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for 403 after httpd-devel install on the new forum.
I installed httpd-devel via the web-min software packages feature. Installed this to gain APXS.
Now all website access produces a 403 error. I am a beginner and I'm at a loss as what to do.
Thanks for any assistance.
-Roger
Howdy,
Well, in theory, the httpd-devel package shouldn't do that :-)
If you log in over SSH, and restart Apache:
/etc/init.d/httpd restart
Do you see any errors?
Also, check out the system error logs for Apache -- in /var/log/httpd/error_log.
If you don't see anything there -- you might want to look in the individual error logs for the various domains you're trying. You can find those in $HOME/logs/error_log.
-Eric
Hello...
Only thing unusual shows up in the domain error log.
Directory index forbidden by Options directive: /home//public_html/
I have no .htaccess setup for the domain. It's a fresh setup.
Thank you for the help.
-Roger
Are there any files in your public_html dir?
What happens if you create an index.html file, and add some text to it -- does that work?
-Eric
Well, in theory, the httpd-devel package shouldn't do that :-)
I don't know that much about Linux. But, I am well experienced windows network administrator and MCSE. I know all about the "in theory" thing... heheheh...
Well... with an index.html page present. It is displayed properly. So is this a suexec thingie??
Thanks again
I can't really speak to why it worked before.
However, by default, Apache isn't setup to allow browsing of files.
That is, if you have a website setup (such as that index.html), it will gladly display it.
But if you just request a directory without an index file, for security reasons, it won't display the contents of the directory, and will instead show that 403 error.
To allow directory/file browsing, you could edit /etc/httpd/conf/httpd.conf, and for the VirtualHost sections you want to enable browsing on, look for the line beginning with "Options", and make sure one of the options enabled is "Indexes".
Then restart Apache:
/etc/init.d/httpd start
However, in general, it sounds like you may just need to upload your website, and you should be in good shape!
-Eric