2009/9/4 Juan José Amor <[email protected]>

> If I put the CGI handler in the Default rule, that is:
>
> Handler: CGI
> Script alias: /var/www/moin-cgi/cgi-bin/moin.cgi
>
> the wiki can be loaded at root page of my virtual server (that is, an
> URL like http://foobar.somesite.com/ ).
>
> But when I try to go to another wiki page, it does not work, since it
> always shows the main wiki page. For example,
> http://foorbar.somesite.com/NewPage shows again the main wiki page.
>
> Ok, after looking a lot of conf variables and not seeing anything
> (including the CGI variables passed to moin.cgi), I have tried to change
> the Default rule to do nothing, and then create a new rule equivalent to
> Default:
>
> type Regular Expression: with regex (.*)
> Handler: CGI
> Script alias: /var/www/moin-cgi/cgi-bin/moin.cgi
>
> and this works perfectly!
>
> Anybody can explain this? Or is this a bug?
>

I'm curious if this is the same thing I had problems
with<http://lists.octality.com/pipermail/cherokee/2009-August/010877.html>a
little while ago, namely that, if a certain configuration option is
checked, anything following the root would get chopped off, unless it had a
trailing slash.  You could try taking a look at that, just if you're curious
(since you've gotten it working), and also see if, in the first
configuration, http://foobar.somesite.com/NewPage/ works.

-- 
James Pearson
--
The best way to predict the future is to invent it.
 - Alan Kay
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to