Hello,

First of all, thank you for releasing 0.4.28 so quickly (particularly
the Debian packages!). That's been a major help to me. Second of all,
I'd like to report another quirk I'm finding.

I've got a layout in mind for my directory structure. Let's say I have a
post called "surprise". I have a permalink, a trackback link, and a
comments feed using this structure:

   /archives/surprise.html
   /trackback/surprise.php
   /feeds/surprise.xml

This is all accomplished using redirection. The problem child is the
trackback link. Here are the relevant sections:

   Directory / { Handler common }

   Directory /trackback {
      Handler redir {
         Rewrite "/(.+)\.php$" "/index.php?tb=1&name=$1"
      }
   }

   Extension php {
      Handler phpcgi {
         interpreter /usr/bin/php-cgi
      }
   }

If I attempt to access /trackback/surprise.php, Cherokee returns a 404
error. If I comment out the "Extension php" section,
/trackback/surprise.php returns a blank page (an XML response is
expected). If I change the Rewrite so the extension is
surprise.arbitrary, everything works as expected.

It appears that the problem is related to the extension .php - Cherokee
appears to be searching for a literal file "/trackback/surprise.php" and
returning a 404 when it's not found. Is this expected behavior in
Cherokee, or a bug, and is it something I can workaround?

Thank you!

Sincerely,
Kurt McKee
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to