Is it possible to configure Apache to host both an ASP.NET Web Service and a PHP Web site?

Posted by Eduardo León on Stack Overflow See other posts from Stack Overflow or by Eduardo León
Published on 2011-01-05T23:35:06Z Indexed on 2011/01/06 17:53 UTC
Read the original article Hit count: 200

Filed under:
|
|

Noob question (because I'm a noob when it comes to Web development). I'm not sure whether I should ask it here or at ServerFault.

I am developing an ASP.NET Web Service and a PHP Web site consuming the Web Service. They are meant to be run on different machines. However, only for development purposes, I need to run both on my machine. I cannot use virtual machines.

I would like to know if it is possible to configure IIS Apache to host both my Web Service and my Web site? Or, do I need to host the PHP site using Apache?

I am using

  • IIS 7.5 Apache HTTP Server 2.2 (NOTE: I have nothing against Apache. In fact, so far I like it more than IIS, however, I would rather not have two Web server applications installed in the same machine.)
  • PHP 5.3.4
  • .NET Framework 2.0 3.0 or 3.5 (whichever comes with Visual Studio 2008)
  • mod_aspdotnet for Apache 2.2

© Stack Overflow or respective owner

Related posts about php

Related posts about ASP.NET