Hello Masaru, In my experience Cherokee does fetch the php file.
Does it find the php file if you only request http://www.mysite.com/doit.php ? What version of Cherokee are you using? Kind regards, Walter On Wed, 2009-10-07 at 14:36 +0200, Masaru Yamabashi wrote: > I've notticed Cherokee does not follow the apache behaviour while > parsing URL. > > In apache an URL such as http://www.mysite.com/doit.php/foo/joe/woo > would fetch the file doit.php and if php enabled it would execute php > code in it, that is that URL results in: > > DOCUMENT_ROOT = /var/www/htdocs > SCRIPT_FILENAME = /var/www/htdocs/index.php > REQUEST_METHOD = GET > QUERY_STRING = > REQUEST_URI = /doit.php/foo/joe/woo > SCRIPT_NAME = /doit.php > PATH_INFO = /foo/joe/woo > PATH_TRANSLATED = /var/www/htdocs/foo/joe/woo > > while Cherokee refuses to fetch the file and reports "file not found" > error. > > I suppose it is sure not a bug but a feature, but Would it be possible > to mimic the apache behaviour since there're a lot of frameworks that > trust on it for url rewriting or routing? > > > ______________________________________________________________________ > Windows Live Hotmail: Your friends can get your Facebook updates, > right from Hotmail®. > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
