|
Apologies, my previous post had a typo as I had been
trying a few things out. This is getting daft ,so lets run it through from the
top...
Install freeVSD.
Create
a virtual server.
Add an
ipalias to this virtual server using the 'vsdadm vs_addaliasip...'
command.
Bevs
into your virtual server as root.
Duplicate the existing demonstration document
root:
cp -R
/home/httpd/docs /home/httpd/docs2
Modify
the content of /home/httpd/docs2/index.html so you can differentiate it from the
default web page on the other ip address.
Make
sure your permissions are correct...
chown
admin.admin /home/httpd/docs2
Set up
the following in /etc/rc:
# HTTP
redirect:
vsdredirect ${IP_ADDR}:80:8080 vsdredirect 62.146.42.18:80:8080 # HTTPS redirect: vsdredirect ${IP_ADDR}:443:8443 vsdredirect 62.146.42.18:443:8443 Set up
the following in /etc/httpd/conf/httpd.conf:
Port
8080
Listen 62.146.42.18:8080 Listen 62.146.42.25:8080 <IfDefine SSL> Listen 62.146.42.18:8443 Listen 62.146.42.25:8443 </IfDefine> Also
append the following to /etc/httpd/conf/httpd.conf:
<VirtualHost
62.146.42.25>
ServerName 62.146.42.25 DocumentRoot /home/httpd/docs2
</VirtualHost>
Exit your virtual server, do a vsboot
--restart and you should be away....
That should sort it from the freeVSD
point of view. Any other problems you have are likely to be Apache related so
check Apache.org before raising them on this list....
Good luck.
Tim
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nikolaus Franz Sent: 20 June 2001 12:30 To: [EMAIL PROTECTED] Subject: Re: how to add an ip based VirtualHost to a VIRTUAL SERVER?????
|
- how to add an ip based VirtualHost to a VIRTUAL SERVER????? Nikolaus Franz
- Re: how to add an ip based VirtualHost to a VIRTUAL SE... Damion Parry
- RE: how to add an ip based VirtualHost to a VIRTUAL SE... Tim Sellar
- Re: how to add an ip based VirtualHost to a VIRTUAL SE... Nikolaus Franz
- RE: how to add an ip based VirtualHost to a VIRTUAL SE... Tim Sellar
- Re: how to add an ip based VirtualHost to a VIRTUAL SE... Nikolaus Franz
- RE: how to add an ip based VirtualHost to a VIRTUAL SE... Tim Sellar
- Re: how to add an ip based VirtualHost to a VIRTUAL SE... Nikolaus Franz
- Re: how to add an ip based VirtualHost to a VIRTUAL SE... Paul Sladen
