I tried both <clear/> and removing the StaticFileHandler like so:
<handlers>
<remove name="StaticFile" />
<add name="Monorail" path="*.html" verb="*"
modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework
\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified"
requireAccess="Script"
preCondition="classicMode,runtimeVersionv2.0,bitness32" />
</handlers>
Both resulted in an error stating that the file extension for the
requested URL does not have a handler associated with it, but it's
clearly mapped like this! What else could I be missing?
I do plan to update to the release, but have to wait until after this
issue.
On Jan 25, 11:56 pm, Ken Egozi <[email protected]> wrote:
> yup, that also :)
> (I keep forgetting that)
>
> On Tue, Jan 26, 2010 at 1:28 AM, John Simons
> <[email protected]>wrote:
>
>
>
>
>
> > JakeS, you should also consider upgrading to the release version of
> > Monorail, you can get it from
> > <http://www.castleproject.org/castle/download.html>
> >http://www.castleproject.org/castle/download.html
>
> > Cheers John
>
> > On 26/01/2010, at 10:07, Ken Egozi <[email protected]> wrote:
>
> > order of handlers is important.
> > The .html extension is mapped on machine level.
> > so you should either clear all mappings, or clear only this one (but I do
> > not remember its name by heart - look it up on applicationhost.config)
>
> > On Tue, Jan 26, 2010 at 12:43 AM, JakeS < <[email protected]>
> > [email protected]> wrote:
>
> >> I'm trying to set up a monorail (trunk from a couple months ago)
> >> website on a windows2008 server with IIS7 to handle .html as actions.
> >> I've placed the following in the web.config:
>
> >> <system.webServer>
> >> <handlers>
> >> <add name="Monorail" path="*.html" verb="*"
> >> modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework
> >> \v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified"
> >> requireAccess="Script"
> >> preCondition="classicMode,runtimeVersionv2.0,bitness32" />
> >> </handlers>
> >> </system.webServer>
>
> >> However, when I try to access the URL
> >> <http://mysite.com/controller/action.html>
> >>http://mysite.com/controller/action.html,
> >> IIS returns a 404 error. The message indicates that it is still
> >> trying to use the StaticFile handler for the request, despite the
> >> above handler being mapped and showing up higher priority.
>
> >> Any suggestions about what else I need to do?
>
> >> --
> >> 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]>
> >> [email protected].
> >> To unsubscribe from this group, send email to
> >> <castle-project-users%[email protected]>
> >> [email protected].
> >> For more options, visit this group at
> >> <http://groups.google.com/group/castle-project-users?hl=en>
> >>http://groups.google.com/group/castle-project-users?hl=en.
>
> > --
> > Ken Egozi.
> > <http://www.kenegozi.com/blog>http://www.kenegozi.com/blog
> > <http://www.delver.com>http://www.delver.com
> > <http://www.musicglue.com>http://www.musicglue.com
> > <http://www.castleproject.org>http://www.castleproject.org
> > <http://www.idcc.co.il>http://www.idcc.co.il- הכנס הקהילתי הראשון למפתחי
> > דוטנט - בואו בהמוניכם
>
> > --
> > 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.
>
> > ------------------------------
> > See what's on at the movies in your area. Find out
> > now<http://au.rd.yahoo.com/movies/mailtagline/*http://au.movies.yahoo.com...>
> > .
>
> > --
> > 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]<castle-project-users%2Bun
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/castle-project-users?hl=en.
>
> --
> Ken
> Egozi.http://www.kenegozi.com/bloghttp://www.delver.comhttp://www.musicglue.comhttp://www.castleproject.orghttp://www.idcc.co.il-
> הכנס הקהילתי הראשון למפתחי דוטנט - בואו בהמוניכם
--
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.