Connecting Tech Pros Worldwide Forums | Help | Site Map

Run DOT.NET on Apache

code green's Avatar
Expert
 
Join Date: Mar 2007
Location: England
Posts: 1,083
#1: 4 Weeks Ago
How does one configure Apache to run .NET. on a Windows XP box.

This will only be on a local machine rather than a main server.
I develop PHP mainly but sometimes dip into Microsoft.
If I could somehow flip localhost between Apache - IIS that would be ideal.

Otherwise I am physically changing machines which is a nuisance.

code green's Avatar
Expert
 
Join Date: Mar 2007
Location: England
Posts: 1,083
#2: 4 Weeks Ago

re: Run DOT.NET on Apache


For information.
I configured the Apache to use port 8080 instead of port 80.
I did this by editing the httpd.conf file "listen" setting.

Then Installed IIS services via Control Panel >> Add/Remove Programs.

I can now run Apache on localhost:8080/ and .NET on localhost/

This is not recommended for live servers because it causes problems with users. There is some port redirection software available.
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,948
#3: 3 Weeks Ago

re: Run DOT.NET on Apache


Why not run PHP under IIS.
code green's Avatar
Expert
 
Join Date: Mar 2007
Location: England
Posts: 1,083
#4: 3 Weeks Ago

re: Run DOT.NET on Apache


Interesting link..
But at the moment all our live servers run Apache.
So I would rather develop on a machine using the same set-up.

The port idea seems to work on my machine for now
Thanks
Reply