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®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to