On 16-nov-08, at 02:09, Mitja Pagon wrote:

> I'm trying to deploy a django powered site using cherokee. The site  
> uses the piwik (web analytics).
> Having already setup cherokee to server the django app (using scgi),  
> I would like to have piwik setup in /stats "directory" 
> (http://example.com/stats 
> )
> but can't get the setup to work.
>
> How to achive that php is enabled for a single "directory" on the  
> site, while the rest of the site is taken care of by django.
>
> This is my current attempt at resolving the problem.
>
> ^/stats/([^\/]*).php([^\/]*)$    Regular Expression    FastCGI
> /stats    Directory    List & Send    No    Yes    No
> /admin_media    Directory    Static content
> /media    Directory    Static content
> Default    Default    SCGI

Looks okay, although I'd do something like this:

php           Extensions   FastCGI    (final)
/stats        Directory    List&Send  (final)
/admin_media  Directory    Static     (final)
/media        Directory    Static     (final)
Default                    SCGI

In case that wouldn't, could you please tell me what the actual  
misbehavior is? I mean, what case/request does not work, and its  
current and expected replies.

Cheers!

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to