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 guys.
When I'm installing my package, I would like web.config to be changed according to below:
<handlers>
.... list of defaut umbraco handlers
<add name="myhanlder.xml" path=".xml" verb="*" type="mytype" />
</handlers>
Basically I need to add my handler at the bottom of <handlers> node. How do I do that?
Here you can find the documentation for package actions. There is a section on how to add handlers.
http://our.umbraco.org/wiki/how-tos/packages-and-projects/package-action-samples
Dave
Hi Dave.
It seems it affects httpHandlers section, like this:
<httpHandlers>
<add ....
</httpHandlers>
Whereas I need handlers section, like this:
<add ...
Any other ideas?
HI Ivan
You need to use this DLL http://our.umbraco.org/projects/backoffice-extensions/package-actions-contrib and if you are running on IIS7 it should add to handlers instead of httpHandlers. IIS6 will install into HTTPHandlers
Hope this helps,
Richard
Hi Richard.
Thanks. I think this should be it.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Package action: How to add handler to web.config?
HI guys.
When I'm installing my package, I would like web.config to be changed according to below:
<handlers>
.... list of defaut umbraco handlers
<add name="myhanlder.xml" path=".xml" verb="*" type="mytype" />
</handlers>
Basically I need to add my handler at the bottom of <handlers> node. How do I do that?
Here you can find the documentation for package actions. There is a section on how to add handlers.
http://our.umbraco.org/wiki/how-tos/packages-and-projects/package-action-samples
Dave
Hi Dave.
It seems it affects httpHandlers section, like this:
<httpHandlers>
<add ....
</httpHandlers>
Whereas I need handlers section, like this:
<handlers>
<add ...
</handlers>
Any other ideas?
HI Ivan
You need to use this DLL http://our.umbraco.org/projects/backoffice-extensions/package-actions-contrib and if you are running on IIS7 it should add to handlers instead of httpHandlers. IIS6 will install into HTTPHandlers
Hope this helps,
Richard
Hi Richard.
Thanks. I think this should be it.
is working on a reply...