Masaru Yamabashi schreef:
> while Cherokee refuses to fetch the file and reports "file not found" error.
Can you explain how it should behave? Because I don't understand the
refuses to fetch the file. Do you mean doit.php is not found?
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREKAAYFAkrMzwsACgkQYH1+F2Rqwn20qgCeOY3gNCIOIx24/TEifPxoSZU7
138AoIeWdSAHR07txW68i8+jhsAWIUDy
=ixK7
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cher...@lists.octality.com
http://lists.octality.com/listinfo/cherokee
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
> ______________________________________________________________________
> Windows Live Hotmail: Your friends can get your Facebook updates,
> right from Hotmail®.
On Wed, Oct 7, 2009 at 2:36 PM, Masaru Yamabashi <kum...@hotmail.com> 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