Skip to Content
Mar 26, 2008 at 02:38 PM

WebDispatcher: URL rewrite



I want to enforce the use of SSL in the EP only for the logon to the Portal (/logon). Can I achive this with the SAP WebDispatcher or do I have to use a proxy solution (eg. Apache 2)?

With apache2 as a proxy, the rules are quite simple:

ProxyPass /logon https://server/logon

ProxyPassReverse /logon https://server/logon

ProxyPass /irj http://server/irj

ProxyPassReverse /irj http://server/irj

I´ve read that I can configure the WebDispatcher to do a URL redirect like / to http://server/irj/portal:

icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/index.html

Can I enforce this only for a specific URL and a new protocol (HTTPS)?


icm/HTTP/redirect_0 = PREFIX=/logon TO=/logon, PROT=HTTPS HOST=server, PORT=50001

icm/HTTP/redirect_1 = PREFIX=/irj TO=/irj, PROT=HTTP HOST=server, PORT=50000

Is the Webdispatcher capable of doing this or is it only a pass-through of the URL and only the protocol can be adjusted?