Page 1 of 1

virtualhost

PostPosted: 07. October 2007 17:50
by XeX
hi,
been trying to look for vhost setup in xampp,but i cant find any or its in german.
Where exactly is it? and how?

just a small example? :D

PostPosted: 07. October 2007 17:54
by Wiedmann
Where exactly is it?

"\xampp\apache\conf\extra\httpd-vhosts.conf"

(and you must enable the include for this file in "\xampp\apache\conf\httpd.conf")

and how?

http://httpd.apache.org/docs/2.2/vhosts/

PostPosted: 07. October 2007 19:28
by XeX
right, thanks...:D
Its not the exact path, its /opt/lampp/etc/extra/httpd-vhosts.conf, but thats ok?
and do i really need an ip beside <Virtualhost ip> in xampp or can i just set *:80 ?

PostPosted: 07. October 2007 19:33
by Wiedmann
Its not the exact path, its /opt/lampp/etc/extra/httpd-vhosts.conf, but thats ok?

You are right. (My path was from Windows.)

and do i really need an ip beside <Virtualhost ip> in xampp or can i just set *:80 ?

I don't know, if you want have a ip based vhost or a namebased vhost. With a namebased vhost you can use both.