We are having cgi appliaction which runs on IHS. We just create the IHS instance and copy the cgi files in cgi-bin folder and access the files through a sechue PORT(HTTPS).
Right now we want to configure the same appliaction on HTTP port but accessing it thorugh Reverse proxy(443). When we are trying to access the web page, images are not getiing displayed and URLs are no getting redirected. Are there any configuration settings that I need to make ?
USER ---HTTPs(443)-->ReverseProxy---HTTP-->CGI Application (IHS) (IHS)
Dear Sir, Thanks for the reply. IHS -> IBM HTTP Server (IBM's customised version of Apache) For reverse proxy we are using IHS only.
Application side: We have added few tags as below to make ContextRoot Alias /contextRoot/ /app/GPN/dyn/ihs/MyApp/cgi-bin/ <Location /contextRoot> DirectoryIndex index.cgi Options ExecCGI AddHandler cgi-script cgi pl sh Order Deny,Allow Allow from 127.0.0.0/24 </Location>
All the cgi scripts are in cgi-bin folder but some images are been placed in htdocs folder.
If I am opening the webpage with contextRoot in the same machine directly, I am able to see all the images and able to open all the URLs. But When I am trying to open through reverse proxy, Except the images everything else is working fine.