Hello,

On Wed, Oct 7, 2009 at 2:36 PM, Masaru Yamabashi <[email protected]> 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.

Did you create the "php rule"? If not, run the PHP Wizard [1].

Anyway, could you post what version of Cherokee are you using and/or
the cherokee.conf file?

[1] http://www.cherokee-project.com/doc/cookbook_php.html

-- 
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to