Hi Jordi!
> Im having a hard time trying to get cherokee to
"see" my non-php
> files
>
> whenever y go to mysite.com/something.txt
> <http://mysite.com
/something.txt> cherokee throws 404 error
> eventhough the file is actually there
Just like a tip.. CHEROKEE_TRACE is your friend
> here is my conf
>
> Directory / {
> Handler file
> }
>
> Request "^/([^?]*)(?(.*))?$" {
> Handler redir {
> Rewrite
"/index.php?q=$1&$3&"
> }
> }
The problem is here.. the request matches this regular
expression:
reqs_list.c:0108 (cherokee_reqs_list_get): Request
"/p1.jpg"
matched
"^/([^?]*)(?(.*))?$", ovecsize=2
so, it's redirecting the request to the wrong place:
handler_redir.c:0240 (match_and_substitute): Hidden
redirect to:
request="/index.php"
query_string="q=p1.jpg&&"
It's a mistake in the configuration.
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|