Hi Mario

On Tuesday 16 December 2008 21:35:05, Mario César wrote:
> The issues I had are that I always get "403 Forbidden You have no
> access to the requested URL", on the pages that certainly exists as
> /home, but on the pages that doesn't exist like for example a
> /efwefwff3, I get a typical 404 error from Silverstripe "The requested
> page couldn't be found." That told me that the redirections works in a
> tricky way, but works.
[...]
> Default        Default        Redirection    No No No
> 
> The php rules, is the same used on the default vhost, the Redirection
> Rule on the Default Rule, are like this:
> 
>    Internal        ^/([^\?]*)\??(.*)       /sapphire/main.php?url=$1&$2
> 
> The regexp takes to arguments, the first is anything but not a "?",
> and the second just anything.
> 
> If anyone can give it a look to setup a SiverStripe site, would be nice.

I haven't tried Silverstripe, but if you are concerned with the redir working 
strangely I would recommend using an external redir just to debug what is going 
on.
The default rule should work as 'default' case. If your regex doesn't match, 
where does the http request fall-through?

Cheers ;)
-- 
[email protected]
http://unixwars.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to