[opencms-dev] FW: Help needed: hyperlinks to https pages
Ivan Biddles
ivanb at scientology.net
Wed Nov 13 18:30:13 CET 2002
I made this post yesterday but I didn't see it arrive in the Forum. I
have got a little further but am still having some problems.
I realized that I didn't need the initial cycle that shows the page to
be https, but I do need the response to be https. So I hard-coded the
submit action to https://localhost:8443/.... and the data is now sent
over https.
But I have another problem. Now that I'm in https, all the links on the
navigation bars that should be just http, also show up as https.
I looked at the LinkSubstitution.getLinkSubstitution method and found
that, in online mode, it determines http or https based not upon the
export propery set for the page, but based upon the current scheme. So
once in https, all links are resolved to https unless they are
hard-coded to http.
Is this a bug or is there (more likely) something I am doing wrong?
Best wishes,
Ivan
-----Original Message-----
From: Ivan Biddles [mailto:ivanb at scientology.net]
Sent: Tuesday, November 12, 2002 09:28
To: 'opencms-dev at www.opencms.org'
Subject: Help needed: hyperlinks to https pages
Hi,
My site is made up mostly of pages that anyone can see (http), but there
are certain pages that show personal information and must be https,
including my login page.
I have a navigation bar which is in the frame template and hence appears
on every page. I originally had all my pages as http to get things up
and running, which they do, but now I need to add the security of https.
Following Marian Kasala's post on 17-OCT-2002 (Re: [opencms-dev] https -
how to use in OpenCMS), I set:
1. export=dynamic as default in opencms.properties
2. export=https on the single folder in which I am keeping all my https
pages, and export=https on the html pages themselves (and the JSPs that
they invoke)
3. Tomcat (4.0.6) for https (on port 8443 for now) and proved that the
splash screen comes up using https.
The problem is that the hyperlink in the navigation bar continues to try
to access the https page via http, so when I view it in the published
form, I get a 404 error.
I have the hyperlink in the Navigation bar set up as, for example,
/opencms/opencms/abc/def/index.html. Is that where I'm going wrong?
Any advice on this would be greatly appreciated as I am rather stuck on
this right now.
Best wishes,
Ivan
More information about the opencms-dev
mailing list