Can't get linux 1.2.13 / apache 1.0
to support virtual hosts.
I have performed the steps in the apache virtual hosts (0.8) faq as shown
below but the new address does not come on line.
Linux is configured as a firewall per the firewall faq, but is used as a
normal host for everyone inside the firewall. Apache performs normally
when the host is addressed directly but will not respond to querys to the
virtual host.
Virtual address will not PING.
File hosts has been updated everywhere.
Anybody have a clue?
-------------------------------------------------------------------------
------
startup up commands
# /etc/rc.d/rc.local: Local system initialization script.
#apache default location -> /usr/local/etc/httpd
/sbin/insmod -o dummy0 /lib/modules/1.2.13/net/dummy.o
/sbin/ifconfig dummy0 192.168.1.60 up
/sbin/arp -s 192.168.1.60 00:A0:24:05:7B:CE 255.255.255.224 pub
/usr/src/apache/src/httpd -f conf/httpd.conf
-------------------------------------------------------------------------
------
result of ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:12 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:A0:24:05:7B:CE
inet addr:192.168.1.61 Bcast:192.168.1.63
Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2931 errors:0 dropped:0 overruns:0
TX packets:3267 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
dummy0 Link encap:10Mbps Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.1.60 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:0 Base address:0x0
-------------------------------------------------------------------------
-------
# file: httpd.conf
ServerType standalone
Port 80
User nobody
Group #-1
ServerAdmin send.no.mail
ServerRoot /usr/local/etc/httpd
BindAddress *
ErrorLog logs/error_log
TransferLog logs/access_log
PidFile logs/httpd.pid
ServerName www.girlswear.com
Timeout 1000
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 50
MaxRequestsPerChild 30
# VirtualHost: Allows the daemon to respond to requests for more than one
# server address, if your server machine is configured to accept IP
packets
# for multiple addresses. This can be accomplished with the ifconfig
# alias flag, or through kernel patches like VIF.
# Any httpd.conf or srm.conf directive may go into a VirtualHost command.
# See alto the BindAddress entry.
#<VirtualHost host.foo.com>
#DocumentRoot /www/docs/host.foo.com
#ServerName host.foo.com
#ErrorLog logs/host.foo.com-error_log
#TransferLog logs/host.foo.com-access_log
#</VirtualHost>
<VirtualHost docs>
ServerAdmin send.no.mail
DocumentRoot /cdrom
ServerName cdrom.browser
ErrorLog /usr/local/etc/httpd/logs/doc-error.log
TransferLog /usr/local/etc/httpd/logs/doc-access.log
</VirtualHost>
----------------------------------------------------------------------
thats all.
I appreciate any ideas available Thanks in advance
Michael