Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have one computer. I am running two instances of 2 differently installed Apache servers.

1 via WAMP 1 via Zend Framework

I wish for wamp to be connected towards "karl.local" And for Zend to be connected via "zend.local"

Now i have in the Windows HOSTS file:

127.0.0.1   karl.local
127.0.0.2   zend.local

And in each on the apaches httpd.conf file:

# WAMP Apache
Listen  80

# Zend Apache
Listen 127.0.0.2:8080

(Yes I have the whole: "< VirtualHost..." included at the bottom of each conf file)

This isn't working, "zend.local" is still pointing towards my wamp server and not the zend one. What am I doing wrong?

share|improve this question
add comment

1 Answer

Listen 80

in your WAMP-Apache config is a catchall, it listens to every localhost address. You should specify

Listen 127.0.0.1:80
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.