Posts: 768
Threads: 40
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: May 2011
Reputation:
0
Also make sure its reallt there.
If you get a permission error like you described then it can be a user problem that can easily be fixed by typing in /var/www/html
chown apache:apache -R *
But you get the same message when you are browsing to a folder without index in it and directoryindex being off.
Try the first. It wil probably fix it. If not then look in the error logs.
/var/log/httpd/error.log
Posts: 13
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
I'm getting tired of apache .... there is not an alternative method to start up my own website? :angry:
Posts: 11
Threads: 2
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2013
Reputation:
0
the pictures of the permissions seems right.
I think you should reinstall the apache server and test ist again.
Posts: 768
Threads: 40
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: May 2011
Reputation:
0
There is a alternative, even better sollution.
nginx with php-fpm
but its much harder to setup, and also requires the right permissions set.
Posts: 13
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
ok i installed another version .... when I start apache I get a message:
AH00557: httpd: apr_sockaddr_info_get() failed for lastonix
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
this may be the cause of my problem?