Hey to all!
I'm just trying to reinstall my development web server (wamp), but am having a few problems with virtual hosts. It seems that the structure of the httpd.conf file has altered, and I basically can't get them to work at all...
Right my document root is set to be "D:/Websites". The server name is set to be "localhost:80".
Towards the top of the document I have this:
At the bottom I have this:
However, when I go on http://localhost:8083 I get presented with the page found at D:/Websites...
Has anyone got any ideas as to what i'm doing wrong?
Cheers,
Rich
I'm just trying to reinstall my development web server (wamp), but am having a few problems with virtual hosts. It seems that the structure of the httpd.conf file has altered, and I basically can't get them to work at all...
Right my document root is set to be "D:/Websites". The server name is set to be "localhost:80".
Towards the top of the document I have this:
Code:
Listen 80
Listen 8083
At the bottom I have this:
Code:
NameVirtualHost *:80
NameVirtualHost *:8083
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /www/docs/dummy-host.localhost
ServerName dummy-host.localhost
ServerAlias www.dummy-host.localhost
ErrorLog logs/dummy-host.localhost-error_log
CustomLog logs/dummy-host.localhost-access_log common
</VirtualHost>
<VirtualHost *:8083>
ServerAdmin [email protected]
DocumentRoot "D:/Websites/Route Hiker v2/dev"
ServerName dummy-host2.localhost
ErrorLog logs/dummy-host2.localhost-error_log
CustomLog logs/dummy-host2.localhost-access_log common
</VirtualHost>
However, when I go on http://localhost:8083 I get presented with the page found at D:/Websites...
Has anyone got any ideas as to what i'm doing wrong?
Cheers,
Rich