Stretchwickster
Programmer
Hi there,
Throughout today I've been trying to setup Apache 2.2.12 (installed as part of XAMPP 1.7.2) in a local development environment such that maps to I have forced Apache to listen on 127.0.0.3:80 so that I can run IIS concurrently on 127.0.0.2:80 (I have setup IIS to listen only on this IP address & port). For the purposes of configuring this Apache mapping, I've stopped IIS running.
Currently, successfully shows the XAMPP welcome page and shows "Internet Explorer cannot display the web page". In order to achieve this mapping, I've tried a number of things, but after a recent reinstall of XAMPP the only mods I've made are as follows:
If I only wish to map this IP address to a single website/hostname, do I need to define NameVirtualHost and VirtualHost directives in httpd-vhosts.conf?
If so, would this syntax be correct:
Any advice/pointers would be gratefully received.
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
Throughout today I've been trying to setup Apache 2.2.12 (installed as part of XAMPP 1.7.2) in a local development environment such that maps to I have forced Apache to listen on 127.0.0.3:80 so that I can run IIS concurrently on 127.0.0.2:80 (I have setup IIS to listen only on this IP address & port). For the purposes of configuring this Apache mapping, I've stopped IIS running.
Currently, successfully shows the XAMPP welcome page and shows "Internet Explorer cannot display the web page". In order to achieve this mapping, I've tried a number of things, but after a recent reinstall of XAMPP the only mods I've made are as follows:
Code:
Listen 127.0.0.3:80
...
ServerName apache:80
If so, would this syntax be correct:
Code:
NameVirtualHost 127.0.0.3:80
<VirtualHost 127.0.0.3:80>
DocumentRoot "C:/xampp/htdocs/"
ServerName apache
</VirtualHost>
Any advice/pointers would be gratefully received.
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096