Am 21.06.2010 13:47, schrieb Alvaro Lopez Ortega:
> On 21/06/2010, at 12:32, Rene A. wrote:
>
>    
>> What I try to archive is "simple" here is what I try to archive: (Its just 
>> for "training" purpose")
>>
>> I settet up gitweb, in gitweb we got files like: git-logo.png, gitweb.css 
>> and git-favicon.png they resist in /usr/share/gitweb. So far I wrote this 
>> regex: ^(.*)\/git-logo\.png with internal redirect ->  
>> /usr/share/gitweb/git-logo.png, I tried File handler,  extensions, and 
>> regex. No success so far...
>>      
> Redirections, as it name implies, do redirect requests to a different public 
> URL.
> If you want to set a custom document root, do so by defining a Document Root 
> in the rule.
>
> --
> Octality
> http://www.octality.com/
>
>    

jeh, just found it out, that redirection are meant to be used for 
external urls. But something I want to know (just for understand the 
things ^^)

If I have different css, png folders lets say:

/usr/share/avatars/*.png called by server with /avatars/*.png
/usr/share/photos/*.png  and /photos/*.png

using extensions as behavior would  not work, RegEx wouldnt work either. 
Cause I have to set different doc roots. Do I have
to setup both things as two behaviors, or do I miss something?
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to