Folder named ‘php’ is blacklisted throws 500 internal server error
-
I have Autoptimize 2.4.4 on a production website. I noticed on the back-end that this resource:
/wp-content/plugins/autoptimize/classes/external/php/persist-admin-notices-dismissal/dismiss-notice.js
produces a 500 internal server error.I suspect that my server is blacklisting the “php” folder directory. The server might be thinking that we are accessing a php file directly, thus, blocking access. So, what I did was change the folder into “p”, resulting into this:
/wp-content/plugins/autoptimize/classes/external/p/persist-admin-notices-dismissal/dismiss-notice.js
and the js script file is now accessible and the error disappeared.I reverted back the name into ‘php’ and the issue shows again.
So, I’m thinking some folks with the same setup as my server might be experiencing the same issue.
The topic ‘Folder named ‘php’ is blacklisted throws 500 internal server error’ is closed to new replies.