Local website proxying
-
Hi, i have two web servers running on my machine. 1)IIS on port 80. 2)WebMail on port 8080. have its own web server, and can not run under iis. i want to access my webmail through IIS. i was thinking about writing a very simple proxy which will redirect my requests from the iis to the the webmail and its responses back to me. can it be done? i think that it can, aren't proxies doing that very thing? please help. thanks
-
Hi, i have two web servers running on my machine. 1)IIS on port 80. 2)WebMail on port 8080. have its own web server, and can not run under iis. i want to access my webmail through IIS. i was thinking about writing a very simple proxy which will redirect my requests from the iis to the the webmail and its responses back to me. can it be done? i think that it can, aren't proxies doing that very thing? please help. thanks
Why not set up an HTML page with an IFRAME with its SRC property set to your mail app? Or if you could use server-side redirection to accomplish the same. No, you're not accessing it directly from IIS and from the setup you described it never will. There is a way to set up IIS to forward requests on with a specific signature (ie. ALL requests ending in JSP get forwarded to a J2EE server), but I'm not certain on how to do it. You'd be accomplishing the same task with an HTML page or server-side redirection. -John
-
Hi, i have two web servers running on my machine. 1)IIS on port 80. 2)WebMail on port 8080. have its own web server, and can not run under iis. i want to access my webmail through IIS. i was thinking about writing a very simple proxy which will redirect my requests from the iis to the the webmail and its responses back to me. can it be done? i think that it can, aren't proxies doing that very thing? please help. thanks
-
If your iis box supports cgi, use a cgi proxy such as nph-proxy.cgi. Make a form with hidden fields which post the address of your webmail server to the proxy file.