<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 404 error while accessing sicf services via apache reverse proxy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334506#M1396530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for the straight tip. Now it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why the same configuration works fine with j2ee applications and not with abap. So I have to read the guide for the rewrite engine again &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2009 12:12:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-22T12:12:51Z</dc:date>
    <item>
      <title>404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334500#M1396524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up an reverse proxy with apache 2.2 and try to access SICF Services via this proxy. I got the following error message from the sap system:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service cannot be reached&lt;/P&gt;&lt;P&gt;The termination occurred in system SMP with error code 404 and for the reason Not found. &lt;/P&gt;&lt;P&gt;The selected virtual host was 0 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do?&lt;/P&gt;&lt;P&gt;Please select a valid URL. &lt;/P&gt;&lt;P&gt;If you do not yet have a user ID, contact your system administrator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:NE-SSMP01_SMP_00-v:0-s:404-r:Notfound&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I access J2EE services via the proxy it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any configuration which have to be done in the ABAP Stack for accessing Services via the proxy server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For tests I tried to access the simple ping service ( /default_host/sap/public/ )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 13:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334500#M1396524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: 404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334501#M1396525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For one, the services are deactivated by default. You should only activate those which you use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check in SICF whether the service you are testing is activated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; simple ping service&lt;/P&gt;&lt;P&gt;You might for example not want your SAP system to be pinged from the internet, so you need to proactively enable this, and possibly use network zones to make it "crispy on the outside and softer on the inside".. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the authentication settings also "cascade" down the service hierarchy as inherited settings!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 19:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334501#M1396525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T19:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: 404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334502#M1396526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Service is up and running and I allready tested it successfully without proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following error from the dev_icm trace file could be interesting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 4260] IctCmOpen#1712 R '/sap/public/ping?sap-client=001&amp;amp;&amp;amp;&amp;amp;GZ=1&amp;amp;A6E90000&amp;amp;'.0 (- MEM) 419430400 27 -&amp;gt; 000000000E8E1C90 -1 rc=20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 06:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334502#M1396526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T06:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: 404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334503#M1396527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the Reverse proxy wiki on SDN : it has excellent information for Apache as a reverse proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an abap backend you need at least the Apache directive :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ProxyPreserveHost on&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you redirect the URL only to the java stack port ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of a dual stack system, I always use the abap ICM as a frontend for both abap and java URLs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 07:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334503#M1396527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T07:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: 404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334504#M1396528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I allready checked the SDN posts for the reverse proxy. Maybe I missed something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ProxyPreserveHost is on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I redirect to the ICM. I only redirected to the J2EE for tests. This worked by the way withe the same conifiguration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my apache config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VirtualHost *:5443&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ServerName      domain.com&lt;/P&gt;&lt;P&gt;        ServerAdmin     test.de&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	ProxyPreserveHost On&lt;/P&gt;&lt;P&gt;	#ProxyVia On&lt;/P&gt;&lt;P&gt;	#AllowEncodedSlashes On&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ##########################&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Rewrite Rules&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- forward sap/public/ping?sap-client=001 -&amp;gt; Test Ping&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- Passthrough /sap/public/ping/* &lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- Redirect any other URL -&amp;gt; Test Ping&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        RewriteEngine On&lt;/P&gt;&lt;P&gt;        RewriteRule     ^/sap/public/ping?sap-client=001$	/sap/public/ping?sap-client=001		[R,L]&lt;/P&gt;&lt;P&gt;	RewriteRule     ^/sap/public/(.*)	                /sap/public/$1				[PT,L]&lt;/P&gt;&lt;P&gt; 	RewriteRule (.*)                			/sap/public/ping?sap-client=001		[R,L]&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;	RewriteLog logs/rewrite_SMP.log &lt;/P&gt;&lt;P&gt;	RewriteLogLevel 3&lt;/P&gt;&lt;P&gt;        #&lt;/P&gt;&lt;P&gt;        ##########################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ##########################&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Reverse Proxy to &lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        #&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- Disable Forward Proxy&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- Allow Connections from All&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- Reverse Mapping for 302 Response&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;- Forward / Requests to domain.com:8000&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ProxyRequests Off&lt;/P&gt;&lt;P&gt;        &amp;lt;Proxy *&amp;gt;&lt;/P&gt;&lt;P&gt;                AddDefaultCharset off&lt;/P&gt;&lt;P&gt;                Order Allow,Deny&lt;/P&gt;&lt;P&gt;                Allow from all&lt;/P&gt;&lt;P&gt;        &amp;lt;/Proxy&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Forward Rules&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;	ProxyPass             /sap/public/ping     	&lt;A href="http://domain.com:8000/sap/public/ping?sap-client=001" target="test_blank"&gt;http://domain.com:8000/sap/public/ping?sap-client=001&lt;/A&gt;&lt;/P&gt;&lt;P&gt;	ProxyPassReverse      /          		&lt;A href="http://domain.com:8000/" target="test_blank"&gt;http://domain.com:8000/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;        #&lt;/P&gt;&lt;P&gt;        ##########################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 08:18:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334504#M1396528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T08:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: 404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334505#M1396529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem may come from an incorrecorrect rewrite rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example, &lt;/P&gt;&lt;P&gt;to redirect all URL beginning with /sap to a specific abap stack (using https) , I use the following rewrite rule :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RewriteRule  ^/sap/(.*)     &lt;A href="https://myabapserver:443/sap/$1" target="test_blank"&gt;https://myabapserver:443/sap/$1&lt;/A&gt;  [P,L]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use a ProxyPass directive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 11:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334505#M1396529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T11:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: 404 error while accessing sicf services via apache reverse proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334506#M1396530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for the straight tip. Now it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why the same configuration works fine with j2ee applications and not with abap. So I have to read the guide for the rewrite engine again &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 12:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/404-error-while-accessing-sicf-services-via-apache-reverse-proxy/m-p/6334506#M1396530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T12:12:51Z</dc:date>
    </item>
  </channel>
</rss>

