I'm not sure what line to add to httpd.conf so index.php is accepted as well as index.html.
Many thanks...
Todd
How do I modify httpd.conf to accept index.php?
Re: How do I modify httpd.conf to accept index.php?
It might be just a matter of running yum install php and systemctl restart httpd.service
Re: How do I modify httpd.conf to accept index.php?
/etc/httpd/conf.d/php.conf in php.rpm seems to have the necessary definitions in place.
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: How do I modify httpd.conf to accept index.php?
The php package comes with it's own configuration in '/etc/httpd/conf.d/' which also adds this rule.