|
The server does not recognize "index.php" as a valid directory index file. You'll want to contact your server admin and have them include "index.php" as one of the directory indexes so that the "index.php" page loads automatically.
Currently, the server is simply listing files within a directory. It should be loading "index.php" as a default. There are few methods to accomplish this.
Method 1: Edit the httpd.conf file
Save the file and restart Apache Server. If it refuses to start then check for syntax errors.
Method 2: Create/Edit .htaccess File
DirectoryIndex index.html index.htm index.php
Save the .htaccess file. You can also do this for specific directories by creating .htaccess files inside specific directories and inputting the desired filenames. If you get a “500 Internal server error” check the syntax of the .htaccess file. |
Was this helpful?
could be more helpful? send comment
![]() |