Unauthorized post-new.php Results in Apache 500 Error?
-
I am baffled by this. I was experiencing some odd 500 errors when people attempted to login when I went to move from a shared hosting site to a DigitalOcean droplet. I tried everything, and nothing jumped out at me, so I decided to go all the way back to the beginning.
I spun up the droplet, installed PhpMyAdmin, yada yada, but I did not import anything into the site. I removed the two default plugins I never use. I updated and did a “dist-upgrade” on the system.
Everything looks like it is working correctly, except I noticed some odd 500 errors, already, in the Apache logs. They are probably spammer bots of some type, but that isn’t the odd part.
I can recreate the error by creating a normal subscriber user and then attempting to go directly to the post-new.php page. An error comes up stating the user does not have permission to post, which is fine, but the logs say 500? Shouldn’t it be 403 or some other error? I don’t understand how this should map.
By posting as an admin, all is well, but I’m concerned there is something I’m overlooking or something is incorrect to begin with. Should this really be error 500?
- The topic ‘Unauthorized post-new.php Results in Apache 500 Error?’ is closed to new replies.