Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 6 and an Apache private web server

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  OWA Seamless login  
Author Message
CFNeumann

External


Since: Feb 18, 2005
Posts: 2



(Msg. 1) Posted: Fri Feb 18, 2005 7:43 am
Post subject: IIS 6 and an Apache private web server
Archived from groups: microsoft>public>inetserver>iis (more info?)

I need to 'proxy' to an Apache private web server to stream an image back
through an IIS 6 public web server. How can I get the IIS 6 web server to
send the request to the private web server?

For Apache to do the same thing it takes only a couple lines in the
httpd.conf file, but I need to do it the opposite way.

 >> Stay informed about: IIS 6 and an Apache private web server 
Back to top
Login to vote
user668

External


Since: Aug 27, 2003
Posts: 15



(Msg. 2) Posted: Fri Feb 18, 2005 2:04 pm
Post subject: Re: IIS 6 and an Apache private web server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

One way might be to write a little HTTP proxy in ASP. I have accomplished
this in the past using the KHTTP component from rainfall.com. I have tried
using the MS internet transfer COM object but it never seemed to work
reliably.

"CFNeumann" <CFNeumann.DeleteThis@discussions.microsoft.com> wrote in message
news:94D12F62-6ACC-479A-901E-501327825357@microsoft.com...
 > I need to 'proxy' to an Apache private web server to stream an image back
 > through an IIS 6 public web server. How can I get the IIS 6 web server to
 > send the request to the private web server?
 >
 > For Apache to do the same thing it takes only a couple lines in the
 > httpd.conf file, but I need to do it the opposite way.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS 6 and an Apache private web server 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 3) Posted: Fri Feb 18, 2005 11:35 pm
Post subject: Re: IIS 6 and an Apache private web server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 18 Feb 2005 07:43:07 -0800, CFNeumann
<CFNeumann RemoveThis @discussions.microsoft.com> wrote:

 >I need to 'proxy' to an Apache private web server to stream an image back
 >through an IIS 6 public web server. How can I get the IIS 6 web server to
 >send the request to the private web server?

You can't. IIS doesn't do a reverse proxy. You need a proxy server,
such as ISA.

 >For Apache to do the same thing it takes only a couple lines in the
 >httpd.conf file, but I need to do it the opposite way.

Apache does it. IIS doesn't.

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 6 and an Apache private web server 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 4) Posted: Sat Feb 19, 2005 10:34 am
Post subject: Re: IIS 6 and an Apache private web server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

IIS does not have this functionallity built in. It can be accomplished by
using an ISAPI filter, or you can use a separate reverse proxy for it.

ISAPI Rewrite is a product from a third-party company, which can be
configured to do what you want. You will need only one line of code, like:

RewriteProxy /mappoint(.+) http\://sitedomain$1 [I,U]
(from their documentation)

You can find more information about this product at their website:

<a style='text-decoration: underline;' href="http://www.isapirewrite.com/" target="_blank">http://www.isapirewrite.com/</a>

Hope this helps!


--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


CFNeumann wrote:

 > I need to 'proxy' to an Apache private web server to stream an image back
 > through an IIS 6 public web server. How can I get the IIS 6 web server
to
 > send the request to the private web server?
 >
 > For Apache to do the same thing it takes only a couple lines in the
 > httpd.conf file, but I need to do it the opposite way.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 6 and an Apache private web server 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 5) Posted: Sun Feb 20, 2005 4:51 pm
Post subject: Re: IIS 6 and an Apache private web server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Actually, Apache does not do what you are asking for.

The add-on module "mod_proxy" does this, and its configuration is integrated
into Apache's configuration store. mod_proxy can be found for free and often
in the same package as "Apache".

IIS also does not do this.

There are several add-ons (some listed by Kristofer) that can do this on
IIS. There are free and for-fee modules, and all are third-party components
not distributed by Micosoft, with their own configuration store. No one
seems to want to write a free "mod_proxy" for IIS for whatever reason, even
though it is easily possible (to provide the same base functionality of
mod_proxy).

ISA or any other proxy server will be the efficient way to do what you are
asking for.



I am just pointing out common misconceptions. When people talk about
"Apache" functionality they tend to include everything, but when it comes to
Apache Security, they just talk about the core; while when people talk about
"IIS" functionality they include nothing but IIS core, but IIS security
includes everything web accessible via add-ons. Simply isn't
apple-to-apples comparison.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"CFNeumann" <CFNeumann.RemoveThis@discussions.microsoft.com> wrote in message
news:94D12F62-6ACC-479A-901E-501327825357@microsoft.com...
I need to 'proxy' to an Apache private web server to stream an image back
through an IIS 6 public web server. How can I get the IIS 6 web server to
send the request to the private web server?

For Apache to do the same thing it takes only a couple lines in the
httpd.conf file, but I need to do it the opposite way.
 >> Stay informed about: IIS 6 and an Apache private web server 
Back to top
Login to vote
dinoch

External


Since: Jan 04, 2005
Posts: 6



(Msg. 6) Posted: Tue Mar 01, 2005 3:51 pm
Post subject: Re: IIS 6 and an Apache private web server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am not a C/C++ expert but have a simple rewriter ISAPI at
<a style='text-decoration: underline;' href="http://cheeso.members.winisp.net/examples.aspx#Misc" target="_blank">http://cheeso.members.winisp.net/examples.aspx#Misc</a>

It supports regular expressions, and rewriting of URLs.

This could be extended to also do remote proxying, using asynch I/O and a
custom thread pool. So far I have not done it.
As I said it is currently pretty simplistic.

Anyone want to help?

-Dino



"David Wang [Msft]" <someone.RemoveThis@online.microsoft.com> wrote in message
news:eofriA7FFHA.560@TK2MSFTNGP15.phx.gbl...
 > Actually, Apache does not do what you are asking for.
 >
 > The add-on module "mod_proxy" does this, and its configuration is
 > integrated
 > into Apache's configuration store. mod_proxy can be found for free and
 > often
 > in the same package as "Apache".
 >
 > IIS also does not do this.
 >
 > There are several add-ons (some listed by Kristofer) that can do this on
 > IIS. There are free and for-fee modules, and all are third-party
 > components
 > not distributed by Micosoft, with their own configuration store. No one
 > seems to want to write a free "mod_proxy" for IIS for whatever reason,
 > even
 > though it is easily possible (to provide the same base functionality of
 > mod_proxy).
 >
 > ISA or any other proxy server will be the efficient way to do what you are
 > asking for.
 >
 >
 >
 > I am just pointing out common misconceptions. When people talk about
 > "Apache" functionality they tend to include everything, but when it comes
 > to
 > Apache Security, they just talk about the core; while when people talk
 > about
 > "IIS" functionality they include nothing but IIS core, but IIS security
 > includes everything web accessible via add-ons. Simply isn't
 > apple-to-apples comparison.
 >
 > --
 > //David
 > IIS
<font color=purple> > <a style='text-decoration: underline;' href="http://blogs.msdn.com/David.Wang</font" target="_blank">http://blogs.msdn.com/David.Wang</font</a>>
 > This posting is provided "AS IS" with no warranties, and confers no
 > rights.
 > //
 > "CFNeumann" <CFNeumann.RemoveThis@discussions.microsoft.com> wrote in message
 > news:94D12F62-6ACC-479A-901E-501327825357@microsoft.com...
 > I need to 'proxy' to an Apache private web server to stream an image back
 > through an IIS 6 public web server. How can I get the IIS 6 web server to
 > send the request to the private web server?
 >
 > For Apache to do the same thing it takes only a couple lines in the
 > httpd.conf file, but I need to do it the opposite way.
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 6 and an Apache private web server 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]