I am trting to install a new service on my server (I changed recently config to virtual host setup). I get his message. I looked in google, but cannot find a solution.
No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
In the document root /var/www/<mydomain>/html contains .htaccess (Options +FollowSymLinks, RewriteEngine On), inpex.html and index.php file
This is the definition of my available site.
<VirtualHost *:80>
ServerName <www.mydomain>
ServerAlias <mydomain>
DocumentRoot /var/www/<www.mydomain>/html
ErrorLog /var/www/<www.mydomain>/error.log
CustomLog /var/www/<www.mydomain>/requests.log combined
</VirtualHost>
What is wrong?
Wolfgang
No matching DirectoryIndex (index.html,index.php) found
-
- Posts: 133
- Joined: 2016/11/20 11:58:45
Re: No matching DirectoryIndex (index.html,index.php) found
Please post the output of:
Did you check for error messages in /var/log/messages and the log files in /var/log/httpd/ directory?
Code: Select all
ls -alZ /var/www/<mydomain>/html