cancel
Showing results for 
Search instead for 
Did you mean: 

Application schema 'http' differs from Portal schema 'https'

former_member207834
Participant
0 Kudos
64

Hi,

We are facing below error.

#Application schema 'http' differs from Portal schema 'https'

Session Management will not work for Application 'http://hostname:8000/sap/bc/bsp/sap/ZREG/Main.htm

dsm session management is off.

We are using Apache & below is rewrite rule

RewriteRule ^/(sap\(.*) http://hostname:8000/$1 [P,L]

Anybody has faced this problem before ?

Best Regards,

Tushar.

Edited by: TChavan on Apr 27, 2011 8:47 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

hofmann
Active Contributor
0 Kudos

Your Apache rewrite rule:

RewriteRule ^/(sap\(.*) http://hostname:8000/$1 P,L

is rewriting every request to http://hostname:8000, ignoring the protocol used.

You'll need a rewrite rule that also take the protocol used into consideration.

br,

Tobias

anja_engelhardt2
Active Contributor
0 Kudos

Hi,

DSM session management only works for https not for http. It looks like you rewrite some https to http so you run into this information.

Anja

Former Member
0 Kudos

DSM will work with HTTP, but the protocols need to be consistent ([Note 529924|https://service.sap.com/sap/support/notes/529924]):

> If the portal is accessed through http, all the content Web servers also have to be configured for http access. Similarly, if the portal is accessed through https, the content Web Servers have to be configured with https.

More to the point, you need to use a fully-qualified host name, like hostname.company.com:8000 and not just "hostname:8000".

Regards,

Sean