Hi,

I'm using Apache already for a couple of years, ...

I'm installing it on a new Machine running a brand new Debian Sarge, ...

I compiled it (apache 2.0.54),
(./configure --prefix=/opt/apache --sysconfdir=/etc/apache --enable-auth-dbm --enable-mime-magic --enable-expires --enable-headers --enable-ssl --enable-http --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-cgi --enable-dav-fs --enable-rewrite --enable-so)
make && make install

and took the configuration from a running Apache 2.0.52.

For one or the other reason, the Virtual hosts part is not working.
NameVirtualHost *:80
<VirtualHost _default_>
   DocumentRoot /data/web/host1
   ServerName host1.domain.at
   ServerAlias host1
   ErrorLog /local_store/web_logs/host1_error
   CustomLog /local_store/web_logs/host1_access combined
</VirtualHost>
<VirtualHost *>
   DocumentRoot /data/web/host2
   ServerName host2.domain.at
   ServerAlias host2
   ErrorLog /local_store/web_logs/host2_error
   CustomLog /local_store/web_logs/host2_access combined
</VirtualHost>

When I browse to the webserver I always get the host1.

/opt/apache/bin/httpd -t
        Syntax OK

/opt/apache/bin/httpd -S
   VirtualHost configuration:
   wildcard NameVirtualHosts and _default_ servers:
   _default_:80           host1.domain.at (/etc/apache/httpd.conf:1078)
   *:*                    host2.domain.at (/etc/apache/httpd.conf:1177)
   Segmentation fault


strace -f /opt/apache/bin/httpd -S
 write(2, "VirtualHost configuration:\n", 27VirtualHost configuration:
 ) = 27
write(2, "wildcard NameVirtualHosts and _d"..., 49wildcard NameVirtualHosts and _default_ servers:
 ) = 49
write(2, "_default_:80 host1.domai"..., 77_default_:80 host1.domain.at (/etc/apache/httpd.conf:1078)
 ) = 77
write(2, "*:* host2.doma"..., 82*:* host2.domain.at (/etc/apache/httpd.conf:1177)
 ) = 82
 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 +++ killed by SIGSEGV +++



Can anybody give me a hint?

Cheers
  Gerald


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to