Trouble with VirtualHosts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Trouble with VirtualHosts

Postby jimbean69 » 03. September 2007 17:50

This is the error i get when trying to restart apache....

(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the <ESC> key to exit. 5....

this is what i have edited to add a virtualhost to test...

in httpd.conf...

# Virtual hosts
Include conf/extra/httpd-vhosts.conf (Removed #)

in httpd-vhost.conf...

NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.dsl.nt.net
DocumentRoot /www/user1
ServerName dummy-host.dsl.nt.net
ServerAlias www.dummy-host.dsl.nt.net
ErrorLog logs/user1-error_log
CustomLog logs/user1-access_log common
</VirtualHost>

Have i missed anything? whats the problem here?
jimbean69
 
Posts: 14
Joined: 06. June 2006 21:43

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 98 guests