These pages are very old. The new version of these pages can be found at http://www.qosina.com/apache/ util I can move them over to www.apache.org. I also need to convert HTML 3.0 code to HTML 2.0 code, so if you have Netscape 2.0 you may want to look at my site anyway. If you an have any questions you can email me at: awm@qosina.com.

Configuring linux to run Apache 0.8 + with virtual hosts

Some advice on configuring Linux so that it can run Apache and virtual hosts

  1. You'll need linux kernel 1.2.x ( >=5 recommended) and compile with the following options:
    	  CONFIG_MODVERSIONS=y
    	  CONFIG_NETDEVICES=y
    	  # CONFIG_DUMMY is not set          ( say no when configuring )


  2. make dep ; make zImage ; make modules ; make modules_install

  3. cp /usr/src/linux/arch/i386/boot/zImage /vmlinuz

  4. rdev -R /vmlinuz 1 ; lilo

  5. reboot system

  6. insmod -o dummy0 /lib/modules/1.2.x/net/dummy.o

  7. ifconfig dummy0 200.200.200.50 up
    NOTE: Make sure the IP address you choice is a valid one, and not being used.

  8. arp -s 200.200.200.50 netmask 255.255.255.255 pub
    NOTE: the ethernet address of your ethernet card can be found if you type ifconfig eth0. First line, there are 6 hex numbers sepearted by ':'. Use that.

  9. route add 200.200.200.50 dummy0

  10. Add <virtual host 200.200.200.50> ..... < /virtualhost> to your httpd.conf file.

  11. Add 200.200.200.50 to your /etc/hosts or DNS database files.

  12. Repeat from Step 1. with dummy1 if so desired.

Good luck.