On 6/30/06, <cfgroupie> <[EMAIL PROTECTED]> wrote:

Hi Guys,

I know that you can't run both Apache and IIS together at the same
time(unless different ports) but I'm running cf multi-server and I want
to have the ability to turn off IIS and turn on Apache and visa-versa
is there a way you can do this in CF? Have two servers configured but
only run one at a time?

Hi Jeremy,

On your first point: you could have two different IP addresses then bind Apache to one and IIS to the other.

Otherwise, set both Apache & IIS to run on port 80, and write a couple of batch files to control them:

apache.bat:
net stop "World Wide Web Publishing"
net start Apache2

iis.bat:
net stop Apache2
net start "World Wide Web Publishing"

and make sure you set one of the services to manual startup.

This works fine on my WinXP machine, you may need to tweak it to match your service names

--
Lindsay Evans
http://lindsayevans.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to