• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

index.php not working unless I enter it manually

cjhmdm

New Pleskian
Hello again,

How would I go about getting the DirectoryIndex settings to function properly? as of right now, if I type in just www.domain.com I get a 500 internal server error. If, however, I manually add index.php in the address bar, the page loads properly.

I've tried with nginx enabled as reverse proxy, and disabled.
Apache using fastcgi and the standard module.
mods-enabled/dir.conf looks like this: DirectoryIndex index.html index.php index.xhtml index.htm index.shtml (I removed ones that I'll never need).
I also tried adding a DirectoryIndex flag in vhost.conf

No matter what I try... 500 internal server error.



With the number of annoyances I've had to overcome at this point (not including my other 2 threads), I have to wonder and ask if plesk 11.5 is even production ready, and whether or not I wasted money on the 2 licenses I bought...
 
You will have to check your index.html file and when you are getting "500 internal server error " check your domain error_log file
 
Back
Top