Ok. When you go to my IP, it shows an index of files in my document root. When you click on index.php, it loads correctly. I just wanna make it so index.php comes up automatically. Any help?
Adding index.php to the DirectoryIndex is the way to go. I just wanted to point out that this directive can also be placed in a <VirtualHost> container, or in an .htaccess file if editing the main httpd.conf is not possible.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.