Alvaro Lopez Ortega wrote:
> Hello Daniel,
>
> On 22-ago-09, at 02:32, Daniel L. Miller wrote:
>
>> I'm trying to setup Conjoon under Cherokee - and it makes use of
>> Apache's mod_rewrite.  The .htaccess file is relatively simple:
>>
>> RewriteEngine on
>> RewriteBase /
>> RewriteRule (^index\/redirect.+)$ index.php
>> RewriteRule
>> !(^install)|(^blank\.html)|\.(mp3|swf|js|ico|gif|jpg|png|css)$ index.php
>>
>> However, as I do not yet fully understand Cherokee's handlers & rules,
>
> Check this out:
>
>   
> http://www.cherokee-project.com/doc/config_virtual_servers.html#behavior
>
> http://www.cherokee-project.com/doc/modules_handlers_redir.html
>
Thanks - right after I posted, I found those sections and started reading.

>
> Remember, rules are evaluated from top to bottom.  Odds are you don't 
> want to place any rule over the "Extension PHP" rule.
>
>> and checked as non-final.  Correct?
>
> I don't think so. Most probably all the rules should be marked as Final.
>
> When a rule is marked as non-Final is because it expects to be refined 
> by any of the following rules (most probably authentication stuff). I 
> don't think it's the case.
I'm still not clear on what redirection does.  In this instance, seems 
like most requests are supposed to be redirected to index.php.  I guess 
I'm looking for clarification on what actually happens between the 
client and server on a redirection.

For example, say the client asks for "myserver.com/something.jpg".  With 
the redirection rule, does the server internally decide to call 
"index.php", and tell it the original request was for "something.jpg"?  
Or does the server tell the the client to re-send the request, but ask 
for "index.php" instead?  I'm sure I'm greatly complicating what should 
be a simple action, but for some reason my tiny brain doesn't want to 
grasp this.

I'm also asking for assistance from the Conjoon developer - hopefully he 
can give me more guidance on what the server needs to do.

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

Reply via email to