Control Web Panel
WebPanel => Apache => Nginx => Topic started by: clintonskakun on September 21, 2017, 05:57:30 PM
-
Not sure if this is a Nginx issue, an Apache issue or a Php conf problem.
I migrated a few website installs from my old Gentoo VM and mostly everything works great. Only problem is POST requests are showing as 404. The same request as a GET request works fine. These sites use Apache and PHP.
I haven't changed anything in the confs. I'm using the default Nginx + Apache generated setup installed via the panel and re-created them a few times.
The Nginx access logs are showing only POST requests 404s but not any GET requests from just visiting the websites. No errors being showen in the error logs.
-
try switching your cwp under WebServers in the left menu to apache only mode and then test again if that works then switch to nginx and test again.
I would also recommend checking the logs of apache as it can be mod_security in some cases showing 404
-
I have no problem with nginx POST/GET requests
mod_security just gives you more headache! maybe try to disable it.
suggestion: You can do a simple test on 'contact form' for POST and GET request.