cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
563 stars 104 forks source link

PHP-CGI reports "No input file specified" if not in the main website #779

Open danielniccoli opened 11 years ago

danielniccoli commented 11 years ago

Original author: massimo....@gmail.com (January 18, 2011 15:57:49)

What steps will reproduce the problem?

  1. Have a current installation of Virtualmin with some virtual domains. Each domain has its own folder which is owned by a different group (Virtualmin default), but www-data is in each of the user groups
  2. Install and configure Cherokee (running on a different port, PHP is enabled via wizard for the virtual domains)
  3. Place simple phpinfo.php file in the main website root (e.g. /var/www) and in the virtual domains' directories
  4. Try to access phpinfo

What is the expected output? What do you see instead?

Expect to see the phpinfo() report. It works for /var/www and subdirectories, but it does not work for the virtual domains. The error reported is "No input file specified", or a simple "can't connect" kind of message.

What version of the product are you using? On what operating system?

Cherokee 1.0.8, Ubuntu 10.4 "Lucid Lynx", XEN VPS

Please provide any additional information below.

Apache 2.2.14 running on port 80 Cherokee 1.0.8 running on port 8080 PHP 5.3.2 with FCGI and hardening patches (Ubuntu standard package)

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1115

danielniccoli commented 11 years ago

From massimo....@gmail.com on January 18, 2011 16:19:19 Might acutally have something to do with http://code.google.com/p/cherokee/issues/detail?id=993