Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Re-directing https request via iwproxy settings
JSB
We currently have the following regular expression setup beneath the
[iwproxy_preconnect_remap] section of out iw.cfg TeamSite config file.
** please note I have substituted the actual contents of regular expressions, examples, URLs etc… to protect the data and names of our websites according to company policy. **
_regex=.*/iw-mount/default/main/Zone_2/www/"website name"/WORKAREA/site/"website folder structure to default file location" /(.*)=https://"website name"/secure/$1
Within our IBM Http Web Server configuration file for the website URL that we are forwarding to, we have the following virtual host configured:
** Please ignore the ' ' around certain characters. just so that the arrows characters '<' '>' show up in the message **
'<'VirtualHost *:80'>'
DocumentRoot /od/"website name"/www/docs/webroot
RedirectMatch permanent .* https://"website name"/secure
'<'/VirtualHost'>'
'<'VirtualHost *:443'>'
DocumentRoot /od/"website name"/www/docs/webroot
SSLEnable
Keyfile '<'path'>'.kdb
RedirectMatch permanent ^/$ https://"website name"/secure
'<'/VirtualHost'>'
Therefore, any request for content on the NON-SECURE protocol of http will automatically be re-directed to the https URL and the /secure alias.
The problem we have is that anytime we click on a file in TeamSite GUI, we are re-directed to the homepage of the site under /secure and we see the following URL in our Browser:
https://"website name"/secure
Now that we are trying to redirect to a SSL https URL we are finding a problem with the way TeamSite is sending the request via the proxy re-direct. Using a combination of log file parameters and web tracking software, we can see that the type of request being sent is a “http” request and not the desired “https” request.
The consequences of this are that the “http” request type is picked up by our virtual host setting which says that any non-https type request is automatically sent to https://"website name"/secure
Therefore our re-direction of files for this website is failing every time. the question is how can we configure TeamSite to send the request to the iwproxy via “https” instead of the current situation with the request being forwarded as type “http”
Before we implemented SSL re-direction on the site, our re-direction statement was working fine and upon selecting a file we would see this type of URL in our browser:
http://"teamsite server name":22300/iw-mount/default/main/Zone_2/www/"website_name"/WORKAREA/site/"folder names etc…"/"filename".jsp
The content of the file was rendered correctly.
Find more posts tagged with
Comments
Migrateduser
Unfortunately, as you have discovered, iwproxy does not support making
https connections to origin servers.