cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing EP 7.31 custom logon page : works in http but not in https

Farid
Active Participant
0 Kudos

Hello,

We recently upgradded our SAP Corporate portal from EP 7.01 to EP 7.3 EHP1 SPS4.

The Portal login Page developed before  the upgrade in Netweaver 7.01 had to be readjusted and

redeployed by the developement team.

The EAR file has been successfully deployed on the Portal, the new login page is fully operation but only when the Portal

is accessed in HTTP protocal , and as you can imagine most of the users acces the portal though the internet, the SAP Webdispatchers being used as reverse proxy.

So as the SAP basis Administartor, I have been asked to investiguate, first I though that it was a wrong configuration (permission table)

to be adjusted at the sapwebispatcher level. But it is definitely not the case.

I activated the HTTPS protocol directly on the portal, and I realized that even when the sapwebdispatcher is not involved at all,

the login page is not correctly displayed.

I compared the traces using HTTPWatch, and they are quite different, but still I can not explain why the customerlogin page is not used.

I searched for any HTTPS parameter to be activated for the custom login module but could not find any,

and I am not a developer but I have the feeling that somehow HTTP protocol, is hardcoded somewhere. in the customer login module files.

I do not know if this might be an explanation.

HTTPS : Customer login page not displayed

HTTP : Customer login Page displayed

We even try to redeploy the EAR file from NWDS to the Portal using the HTTPS connection, but it did not change anything.

Any idea would be highly appreciated.

Thanks

Regards

Message was edited by: Raoul Shiro

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raoul,

Your first image link is broken... can you redo it? What response do you get when you try HTTPS? Is it a 404, 401 etc...? That might help you work out the issue. Are you able to access the standard logon page using HTTPS?

Hth,

Simon

Farid
Active Participant
0 Kudos

Thank you Simon for your answer, here is the broken link, HTTPS : Customer login page not displayed

In HTTPS, we do not have any error message,it is just that the SAP standard login page is displayed instgead of the custom login page (correctly displayed only in HTTP protocol)

Really strange...

Former Member
0 Kudos

Hi Raoul,

I assume your custom portal component is called something like xx_portal_logon? From both captures above it looks like even using HTTPS the custom component is being called (see the screen.css file) that gets loaded in both cases.

I notice that the jquery-latest.js file isn't loaded in HTTPS....

Can you view the source on the HTTPS page and compare it to the HTTP page?

I just can't see why HTTP would work but HTTPS would not! ... did you also use HTTPS in your system before you upgraded? If so I assume it worked fine then too? Is it possible that the code detects the protocol and does something different for HTTPS?

Racking my brain!

Simon

Farid
Active Participant
0 Kudos

Thanks for your answer Simon,

HTTP and HTTPS were perfectly working before the upgrade to 7.31.

After the upgrade, the customer login screen had to be adjusted and reimported as EAR,

and since then, no way to display the custom login page in https.

We have checked the source of the portal home and there are indeed different,

there is a particlar sectiion displayed here that appears in HTTPS but not in HTTP,

and that section is probably responsible for the fact the standard home page is displayed instaed of the customer home page.

The developer ensures me that there is no mention in his coding of https/http protocols,

there isn't much I can do on my side :

<table id="tblFrmUI" width="790px" valign="middle" dir="ltr" align="center" cellPadding="0" cellSpacing="0" style="background-color:#ffffff;margin-top:50px;">

 

<tr>

  <td><img src="/jitik_portal_logon/layout/lf_tl.png" width="29" height="32"></td>

  <td background="/jitik_portal_logon/layout/lf_st.png"></td>

  <td><img src="/jitik_portal_logon/layout/lf_tr.png" width="27" height="32"></td>

</tr>

<tr>

  

  <td background="/jitik_portal_logon/layout/lf_sl.png"></td>

 

  <td width="100%"> 

  

        <table id="tblInnerCnt" dir="ltr" cellpadding="0" cellspacing="0">

     

    <tr>    

     <td valign="top"><div class="urBrandImage"><img src="/jitik_IMAGES/zjitik_background.jpg" alt="Branding Image" border="0"></div></td>

     <td width="100%"></td>

     <td>    

      <table height="360px" cellPadding="0" cellSpacing="0">

       <tr>       

        <td valign="top"><div class="urProductName"><img src="/jitik_IMAGES/branding-text.jpg" alt="" border="0"></div></td>

       </tr>      

       <tr>

        <td valign="top" align="left">      

          <div class="urLogonData">         

           <!-- data table starts after this line -->

           <FORM  AUTOCOMPLETE="off"  id="certLogonForm" name="certLogonForm" target="logonAppPage" method="post" action="" >

<input name="login_submit" type="hidden" value="on">

Farid
Active Participant
0 Kudos

Hi,

The problem is solved , the solution is described in sap note 1578040

Thanks for your attention

Answers (0)