On Wed, Dec 17, 2008 at 11:06 AM, Taher Shihadeh <[email protected]> wrote:
> 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?

The redirection as I say seems to work ..

Going to http://sczlearn/home redirect me to
http://sczlear/sapphire/main.php?url=home&;

If the page exists I get the 403 Forbidden Error, If it doesn't jump
the 404 error. :'(

Using the same configuration in apache2, silverstripe works ... so I
don't really have a clue what is happening.

> Cheers ;)
> --
> [email protected]
> http://unixwars.com/
>



-- 
Mario César Señoranis Ayala.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to