Apache 2 & virtual domains shows only one site for all addresses
I thought I have solved it, but .... I have added all modules to /etc/sysconfig/apache2 to use %0, but it does not help. I moved back to SuSE suggestion including vhost_alias. I have made according the ../vhosts.d/vhost.template some copies of my domains. (only replacing dummy-host.example.com with my website names and saved the file with the name of the web site followed by ".conf" First only three and restarted apache2: All sites show only one site, independent how I call it out of the three site.conf files I added two more and get than during startup a message: ... [warn] _default_ VirtualHost overlap on port 80, the first has precedence Any hints please! I am exhausted! bye Ronald
On Fri, Jan 30, 2004 at 01:43:53PM +0800, Ronald Wiplinger - via SeedNet SMTP wrote:
I thought I have solved it, but ....
I have added all modules to /etc/sysconfig/apache2 to use %0, but it does not help. I moved back to SuSE suggestion including vhost_alias.
I have made according the ../vhosts.d/vhost.template some copies of my domains. (only replacing dummy-host.example.com with my website names and saved the file with the name of the web site followed by ".conf"
First only three and restarted apache2: All sites show only one site, independent how I call it out of the three site.conf files I added two more and get than during startup a message:
... [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Your configuration lacks a NameVirtualHost. Edit /etc/apache2/listen.conf and use something like: Listen your.host.name:80 NameVirtualHost your.host.name:80 If you are on a dynamic IP address, you will have to use .*:80'. Peter
participants (2)
-
poeml@cmdline.net
-
Ronald Wiplinger - via SeedNet SMTP