These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Ubuntu 14.04 and CGI wrapper mode 404 not found error on the new forum.
Hello,
Presently I used virtualmin free on CentOS 7 VPS and have problem with CURL with Cloudflare Enabled website. So I decided to move Ubuntu 14.04 (as I will get newer version of PHP too).
Virtualmin is working fine with mod_php and FCGId (run as virtual server owner). but with 1024mb RAM I don't want to use FCGId.
If I switched to "CGI wrapper (run as virtual server owner)" mode and I get 404 not found error. only with index.php (index.html works fine).
Not Found
The requested URL http://www.mysite.com/cgi-bin/php5.cgi/index.php was not found on this server.
Note- I have tested it on multiple demo VPS and all have same result.
Howdy,
Hmm, is that a new domain, or was that domain imported from a backup on another system? I'm wondering if maybe there's something awry with the php.ini file associated with that Virtual Server. Does a newly created domain work properly?
-Eric
Its all with new/fresh installation and new domain. :-(
Do you have any updates on that issue? I have the same problem :-(
Ah, in my case i found a solution. CGI was not enabled...
Just execute
a2enmod cgi
service apache2 restart