Tomcat: Difference between revisions
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
3. Re-writing essentially maps urls such as "http://localhost/sdata/crm71sp2j/layout/-/$service/" to "http://localhost:10009/crm71j/..etc". So you can see that the port is 10009 and this is the port that TOMCAT is working through. | 3. Re-writing essentially maps urls such as "http://localhost/sdata/crm71sp2j/layout/-/$service/" to "http://localhost:10009/crm71j/..etc". So you can see that the port is 10009 and this is the port that TOMCAT is working through. | ||
404's usually appear when the "RewriterModule" is missing from IIS | |||
This should be added to IIS. To do this select the application (or main node) and select "Modules" | |||
From there click "Add Managed Modules" | |||
Set the name to be "RewriterModule" | |||
and the type to be "ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" | |||
Note that this should map the setting in the web.config file | |||
<httpModules> | |||
<add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" /> | |||
</httpModules> | |||
Revision as of 17:16, 22 June 2012
Troubleshooting:
1. Ensure parent paths is set to true for ASP
..details are being investigated still
ISAPI Rewriting
- IIS 6 only seems to need the file mentioned in 1 below
1. Sage use a file called "....Sage\CRM\Services\IISUtils\CRMRewriter\ISAPI_Rewrite.dll" which is created by "Helicon" (http://www.isapirewrite.com/)
2. The rewriting rules are written in "....Sage\CRM\Services\IISUtils\CRMRewriter\CRM.Rewriter.rules"
3. Re-writing essentially maps urls such as "http://localhost/sdata/crm71sp2j/layout/-/$service/" to "http://localhost:10009/crm71j/..etc". So you can see that the port is 10009 and this is the port that TOMCAT is working through.
404's usually appear when the "RewriterModule" is missing from IIS
This should be added to IIS. To do this select the application (or main node) and select "Modules"
From there click "Add Managed Modules"
Set the name to be "RewriterModule"
and the type to be "ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter"
Note that this should map the setting in the web.config file
<httpModules> <add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" /> </httpModules>
Useful articles: