Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    4xz
    4xz is offline
    Regular Coder
    Join Date
    Aug 2004
    Location
    localhost
    Posts
    163
    Thanks
    0
    Thanked 1 Time in 1 Post

    Webserver : Apache / IIS integration

    Got a problem, for which I cannot seem to work out a solution. Maybe some1 can fill me in, that is : if it's possible in the first place.

    I am running 2 webservers on a local network. One is running on Apache the other on IIS. To the outside world I made both servers available, Apache on port 80, IIS on port 1080.

    On the IIS server, I have a very nice webmailclient, built in ASP .net. However, in my current setup, I can only reach it on port 1080, which has a lot of disadvantages, proxy servers not allowing port 1080 to pass being the biggest.

    Is there some way, to have apache open the IIS page for a visitor, for example on address http://myserver/webmail ?? (So that I can view both my Apache served pages as well as my IIS served pages over port 80)

    A client-side solution (iframes or whatever) is not an option I think, as Apache will have to find the IIS server on it's local name (got only 1 external hostname/ip). Guess I need to do something to my Apache configuration or use some kind of server-side-something.

    A drawing :


    Last edited by 4xz; 11-11-2004 at 06:41 PM.

  • #2
    4xz
    4xz is offline
    Regular Coder
    Join Date
    Aug 2004
    Location
    localhost
    Posts
    163
    Thanks
    0
    Thanked 1 Time in 1 Post
    Solved it Got the answer from a friend. Apache seems to be able to proxy the IIS pages

  • #3
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have similar problem where Apache is installed on UNIX and would like to forward some of the .asp request to IIS on windows.

    I would appreciate if you could you let us know how you did the integration ?

    Thanks in advance.

  • #4
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    if your iis is running a server os you can use a "new website" in the iis settings to redirect domains/subdomains to a port on another machine on the network, eg:

    get your router to point port 80 at the iis machine (only if it is a SERVER os)
    get the iis machine to run default website to port 80 on the unix machine, and new website (on a different domain/subdomain) to port 80 on the windows machine, this can also (optionally) be used to point the whole url at a specific directory or file, eg:
    www.domain.com, domain.com --> 192.160.1.20/site1/page.php

    note: windows operating systems such as xp pro support iis but are not server operating systems (look for "server" in the os name if you arent sure )

  • #5
    4xz
    4xz is offline
    Regular Coder
    Join Date
    Aug 2004
    Location
    localhost
    Posts
    163
    Thanks
    0
    Thanked 1 Time in 1 Post
    I sent u a PM jekko.

  • #6
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Can't you just add a "RedirectPermanent" to the apache httpd2.conf file to forward the requests?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •