Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi im using IIS7 running a classic app pool and umbraco 4
my web config looks like
<
add name="xml" path="*.xml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />
add name="SitemapXml" verb="*" path="sitemap.xml" type="MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler, MA.Umbraco.SiteMapGenerator" />
and im getting
when trying to access sitemap.xml..
any hints?
Sounds like some configuration or even asp.net install error. Check out this topic on the IIS forums.
Or (shameless plug for my own package coming!) you could just use the Cultiv Search Engine Sitemap, which is really only a simple XSLT file.
I'm using IIS7 too, and the instructions are apparently for IIS6. Too risky to try to map them. So, as soon as IIS7 is tested, and instructions available, let us know!
Thanks!
R
For IIS7, go to website > Handler Mappings > Add managed handler
Add following entries:
Request path: *.xml
Type: MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler
Name: sitemap.xml (or as defined in webconfig)
web.config for iis 7
<!-- IIS 7 Integrated Mode Configuration<system.webServer> <handlers accessPolicy="Read, Write, Script, Execute">... <add name="Sitemap.xml" path="*.xml" verb="*" type="MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler" </handlers></system.webServer>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Can't get it to work under IIS7
Hi im using IIS7 running a classic app pool and umbraco 4
my web config looks like
<
add name="xml" path="*.xml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />
<
add name="SitemapXml" verb="*" path="sitemap.xml" type="MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler, MA.Umbraco.SiteMapGenerator" />
and im getting
Handler "SitemapXml" has a bad module "ManagedPipelineHandler" in its module list
when trying to access sitemap.xml..
any hints?
Sounds like some configuration or even asp.net install error. Check out this topic on the IIS forums.
Or (shameless plug for my own package coming!) you could just use the Cultiv Search Engine Sitemap, which is really only a simple XSLT file.
I'm using IIS7 too, and the instructions are apparently for IIS6. Too risky to try to map them. So, as soon as IIS7 is tested, and instructions available, let us know!
Thanks!
R
For IIS7, go to website > Handler Mappings > Add managed handler
Add following entries:
Request path: *.xml
Type: MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler
Name: sitemap.xml (or as defined in webconfig)
web.config for iis 7
<!-- IIS 7 Integrated Mode Configuration
<system.webServer>
<handlers accessPolicy="Read, Write, Script, Execute">
...
<add name="Sitemap.xml" path="*.xml" verb="*" type="MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler"
</handlers>
</system.webServer>
is working on a reply...