on 10-10-2006 3:16 PM
hello
i have not found some working solution for http to https forwarding yet
i want to forward all access to http://server:50100/irj/portal to url http://server/ (port 80)
i thought that proxy mappings is exactly what i need, but ...
proxymappings property is configured as follows:
50100=(Host:server,Port:80,Scheme:http,Override:true)
it works in case, that only the basic URL is accessed:
than it redirects as defined
in case, that for example this kind of URL is accessed:
http://server:50100/irj/portal
the redirection doesn't work and portal login page is displayed
anybody has please a clue how to avoid this?
(i'm desperate, OSS support won't help me, because "it's not product error" they say)
Hi Michal,
The ProxyMappings setting will redirect the user once they have logged on, but I guess you want to send them via a reverse proxy with a single sign-on plugin...
To achieve what you want to do, you will have to edit the portal logon HTML page and add some JavaScript code.
This code would be something like:
<script>
if (location.host.indexOf(":50100") > -1)
{
var newUrl = location.href;
newUrl.replace(":50100","");
location.replace(newUrl);
}
</script>
This will detect if the page has been accessed via port 50100, and if so will redirect to the same URL without port 50100.
Hope this helps,
Darren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for effort darren
it doesn't work as expected
i would like to forward
http://server:50100/irj/portal
to
this will forward me when i'll try to reach
and it's forwarding to
that of course doesn't exist
any idea how to get it work, darren?
Michal,
Use Web Dispatcher with icm/HTTP/redirect_<xx> parameter.
It is designed to do exaclty that.
http://help.sap.com/saphelp_nw04s/helpdata/en/00/040f3a39ce8704e10000000a114084/frameset.htm
Regards,
Slava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Have you got the solution to access /irj/portal through https when request is sent using http. If so you could you please share the details with me.
I am able to configure http://hostname:port/useradmin using portmapping parameter but I am unable to configure http://hostname:port/irj/portal.
Regards
Shiv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how to disable http port over https?
1. login to Visyal admin
2. Dispatcher > services > HTTP provider >
3. edit
proxymappings: 50000=(Host:hostname,Port:50001,Scheme:https,Override:true)
4. restart the "HTTP provider" or j2ee engine
Result: all http incomming request will be converted to https req.you can access portal only using https)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.