Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-11-2004, 06:38 PM   PM User | #1
4xz
Regular Coder

 
Join Date: Aug 2004
Location: localhost
Posts: 163
Thanks: 0
Thanked 1 Time in 1 Post
4xz is an unknown quantity at this point
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..
4xz is offline   Reply With Quote
Old 11-12-2004, 07:18 PM   PM User | #2
4xz
Regular Coder

 
Join Date: Aug 2004
Location: localhost
Posts: 163
Thanks: 0
Thanked 1 Time in 1 Post
4xz is an unknown quantity at this point
Solved it Got the answer from a friend. Apache seems to be able to proxy the IIS pages
4xz is offline   Reply With Quote
Old 02-04-2005, 04:30 PM   PM User | #3
Jekko
New to the CF scene

 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Jekko is an unknown quantity at this point
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.
Jekko is offline   Reply With Quote
Old 02-09-2005, 12:26 PM   PM User | #4
ghell
Senior Coder

 
Join Date: Apr 2003
Location: England
Posts: 1,192
Thanks: 5
Thanked 13 Times in 13 Posts
ghell is on a distinguished road
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 )
__________________
My tech/code blog
ghell is offline   Reply With Quote
Old 03-04-2005, 04:57 PM   PM User | #5
4xz
Regular Coder

 
Join Date: Aug 2004
Location: localhost
Posts: 163
Thanks: 0
Thanked 1 Time in 1 Post
4xz is an unknown quantity at this point
I sent u a PM jekko.
4xz is offline   Reply With Quote
Old 03-04-2005, 05:53 PM   PM User | #6
bcarl314
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
bcarl314 will become famous soon enough
Can't you just add a "RedirectPermanent" to the apache httpd2.conf file to forward the requests?
bcarl314 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:17 AM.


Advertisement
Log in to turn off these ads.