Hi,
Would it be possible to output webhelp files with the extension .aspx instead of .htm?
I believe this would then mean role based security could work in web config.
Regards
Dave Craggs
Webhelp
Moderators: Alexander Halser, Tim Green
Re: Webhelp
OK - ignore that.
All I had to do was add .htm files to the handler mapping
Dave
All I had to do was add .htm files to the handler mapping
Dave
Re: Webhelp
Cracked it. You have to add the handlers into the main web config
plus
Now seems to be working.
Dave
Code: Select all
<system.webServer>
<handlers>
<add name="htm to asp" path="*.htm" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
<add name="html to asp" path="*.html" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
<add name="pdf to asp" path="*.pdf" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
</system.webServer>
Code: Select all
<compilation targetFramework="4.5.2">
<buildProviders>
<add extension=".htm" type="System.Web.Compilation.PageBuildProvider" />
<add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
<add extension=".pdf" type="System.Web.Compilation.PageBuildProvider" />
</buildProviders>
</compilation>
Now seems to be working.
Dave
- Tim Green
- Site Admin
- Posts: 23156
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Webhelp
Hi Dave,
You can also set the file extension used by HM for your topic files in Configuration > Publishing Options > WebHelp > HTML Export Options.
You can also set the file extension used by HM for your topic files in Configuration > Publishing Options > WebHelp > HTML Export Options.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: Webhelp
Ah thanks didn't spot that. But my solution works, especially as I can protect pdf files as well.
Thanks
Dave
Thanks
Dave