4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Apache and IIS servers installed on the same desktop
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Web Seattle
Junior WebHelper
Junior WebHelper


Joined: 28 Feb 2005
Posts: 1
Location: Seattle, WA USA

PostPosted: Tue Mar 01, 2005 9:36 pm (12 years, 7 months ago) Reply with QuoteBack to Top

My PC desktop development environment worked just fine for testing Server Side Includes on a local desktop Apache Server:

Desktop: Windows XP Pro SP2
Apache: version 2.0.52 win32 x86 no ssl

I recently had a need to test ASP and installed IIS 5.1 server on the same desktop.
My current dual server environment does not work. I cannot access either server.
I could not find specific info on the Internet.

Any suggestions to get Apache and IIS servers installed on the same desktop and used selectively when needed?
OfflineView User's ProfileFind all posts by Web SeattleSend Personal MessageVisit Poster's Website
thetribe
WebHelper
WebHelper


Joined: 10 Nov 2002
Posts: 62
Location: Ashington, Northumberland. UK

PostPosted: Wed Mar 02, 2005 10:24 am (12 years, 7 months ago) Reply with QuoteBack to Top

I had IIS and Apache working fine together, the way I did it was to leave IIS listening on the default port of 80 and changed Apache to listen on any other port I wanted.

I changed these settings in the Apache httpd.conf file

Code:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
Listen 81

and then set

Code:

# Port: The port to which the standalone server listens.  Certain firewall
# products must be configured before Apache can listen to a specific port.
# Other running httpd servers will also interfere with this port.  Disable
# all firewall, security, and other services if you encounter problems.
# To help diagnose problems use the Windows NT command NETSTAT -a
#
Port 81


and then set
Code:

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:\81"

This set that folder as the default (you can see my easy naming, name the folder the same as the port for easy remembering Wink )

It was easy after that to set extra ports/folders for different development sites.

Add another port to the Listen command e.g. Listen 82 and then set up a Virtual Host to cover this
Code:

<VirtualHost *:82>
DocumentRoot "D:\82"
<Directory "D:\82">
Options All +Includes
</Directory>
</VirtualHost>


And unfortunately that's all I can remember now, don't currently have these running due to a dead hard drive so I hope this helps in some way Smile

________________________________
Phil.
My Musical Preferences
Image
OfflineView User's ProfileFind all posts by thetribeSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot 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.


Page generation time: 0.07167 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme