Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Local website proxying

Local website proxying

Scheduled Pinned Locked Moved Web Development
sysadminwindows-adminhelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Boaz V
    wrote on last edited by
    #1

    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

    J J 2 Replies Last reply
    0
    • B Boaz V

      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

      J Offline
      J Offline
      john3parker
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • B Boaz V

        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

        J Offline
        J Offline
        JKroschel
        wrote on last edited by
        #3

        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.

        B 1 Reply Last reply
        0
        • J JKroschel

          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.

          B Offline
          B Offline
          Boaz V
          wrote on last edited by
          #4

          Hi. It sounds like this is want i needed. could you point me to a nph-proxy's website? or some place which i can download the cgi code and find some HOW-TO docs. thanks

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups