Link to home
Start Free TrialLog in
Avatar of janevok
janevok

asked on

Apache and IIS on the same machine

Hi,

I am trying to run Apache and IIS on my home PC, so I can use Apache to run my PHP scripts and IIS to run my ASP scripts. This purely for my own development use.

I installed IIS first and then Apache. They are both using the same port 80. They seem to work ok-ish, but ive noticed a problem that when I have stopped IIS and started Apache as a service, then i load IE and type in http://localhost it says "Forbidden, Permission denied" but when i enter in a filename with the .php extension it runs that file fine. it just doesnt accept the http://localhost url.

With IIS running, I type in http://localhost into IE and it displays the correct Microsoft IIS info. Now I know from previous experience that with Apache running when localhost is typed in it should display the Apache server info page - this is not the case.

Now Im not sure if this will cause me problems in the future which is why I want to ask if anyone has both IIS and Apache successfully set-up on their machines!?

Hope someone can help
Thanks
Laura
ASKER CERTIFIED SOLUTION
Avatar of hawkers
hawkers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
apache also has a configuration to allow directory browsing.. search the httpd.conf file for it