I'm using RoutingModuleEx, basic MonoRail routing that is mapped like this:

<add name="MonoRail" path="*" verb="*"
type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,
Castle.MonoRail.Framework" preCondition="integratedMode"/>

I was under the impression that with this approach, static files are
never handled correctly. If that is not the case, I'd love to hear about
the solution :)

I get Url smaller than 2 tokens if I try to request a static file.

Jokin Cuadrado wrote:
> What routing are you using?
>
> the one i use check if a file exist before handling the dynamic url,
> so just put a static robot.txt in the root and it will work.
>
>
> On Mon, May 18, 2009 at 12:01 PM, Jimmy Shimizu <[email protected]> 
> wrote:
>   
>> How do you guys solve the issue with files that are supposed to be found
>> directly under the siteroot when using advanced routing (meaning,
>> catching * with Monorail)?
>>
>> I was planning on using a specific controller that servers robots.txt
>> and sitemaps dynamically, but when someone needs to verify for example
>> domain-ownership with analytics or webmastertools or such, how do you
>> handle that?
>>
>>     
>
>
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to