Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > apache and aspnet?

Reply
Thread Tools

apache and aspnet?

 
 
Sam Carleton
Guest
Posts: n/a
 
      08-21-2003
Is it possible to have apache host an asp.net app on a windows
server? If so, how?

Sam
 
Reply With Quote
 
 
 
 
Dino Chiesa [MSFT]
Guest
Posts: n/a
 
      08-22-2003
Interesting question....
The first and best way is to NOT do it. IIS6 has a terrific process model -
you get process monitoring, proactive thresholds, kernel caching, connection
management, all sorts of good stuff. Also, hosting ASP.NET within that
container is the best and most broadly tested mechanism.

If you are still set on using Apache to front-end ASP.NET, . . there are a
few options.

1. You can forward aspx requests from Apache to IIS. This isn't really
"hosting" asp.net within Apache because you still have IIS on the box. But
if the issue is a reluctance or unwillingness to expose IIS to the internet,
this may suffice. With IIS6 you can set the HTTP.SYS to listen only on
particular interfaces. For example, you could tell IIS to only listen for
requests that originated on the local box (127.0.0.1). Apache would listen
on port 80 and IIS6 might listen on port 6789. Apache can serve static
pages and IIS can serve the ASP.NET content. Or, you can deploy IIS6
remotely. In this case, you could have a dedicated network interface for
the Apache-to-IIS forwarding, and IIS would only listen for requests on that
line. The benefit of request forwarding is that you retain the IIS6 process
model.

2. If you absolutely cannot run IIS, then Cassini is an option. This would
work similarly to #1, with Apache forwarding ASPX requests to an external
host, in this case Cassini. Cassini is not a hardened web server engine,
though, and would need lots of work in order to be solid for production use.
there's no SSL, no connection management, no admin interface. I don't know
about logging or eventing. And of course Cassini gives you none of the
IIS6 process model. You can find out more about Cassini on www.asp.net .


There are other options, too, neither sanctioned or recommended by
Microsoft:

- Covalent has a commercial offering that works with their Apache server.
This is basically, as I understand it, an aspnet_wp and ISAPI implemented
for Apache (as an Apache 2.0 module). You don't get any of the IIS6 process
model goodness.

- Project Mono has built an Apache module - I am not sure of the status of
this, and not sure if it works only with Mono or if it works also with
Microsoft ASP.NET.


-Dino


"Sam Carleton" <scarleton-> wrote in message
news:9HU0b.71440$...
> Is it possible to have apache host an asp.net app on a windows
> server? If so, how?
>
> Sam



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems running Apache FOP: org.apache.fop.fo.FOTreeBuilder fatalError Pablo Java 0 03-28-2007 02:31 PM
org/apache/xpath/objects/XObject incompatible with org/apache/xpath/objects/XNodeSet duduch_1er@hotmail.com XML 4 08-10-2006 01:38 PM
Apache FileUpload - java.lang.NoClassDefFoundError: org/apache/commons/io/FileCleaner kebabkongen@hotmail.com Java 2 03-16-2006 09:20 AM
AXIS jars org.apache.axis.wsi.* and org.apache.axis.transport.jms.* unkwb@web.de Java 0 02-23-2005 04:02 PM
How to test speed difference of Perl/Apache and SSI/Apache The Poor Perl Misc 2 09-27-2003 12:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57