Run DOT.NET on Apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    Run DOT.NET on Apache

    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
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    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.

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Why not run PHP under IIS.

      Comment

      • code green
        Recognized Expert Top Contributor
        • Mar 2007
        • 1726

        #4
        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

        Comment

        Working...