[ic] problem with site launch

Dan Browning interchange-users@icdevgroup.org
Tue Aug 20 12:45:00 2002


At 11:20 AM 8/20/2002 -0500, you wrote:
> >
> > Hi All!
> > My problem is:
> > Our present URL www.vmss.com is linked to the old site.We have
>finished
> > our
> > new interchange site http://www.vmss.com/~asavalan/cgi-bin/cart.cgi
>but we
> > don't know how to do, when the user picks up www.vmss.com it would pop
> > directly into interchange index.html page.
> > Thank you.
> >
>
>We use the following in apache's httpd.conf:
>
><VirtualHost 1.2.3.4>
>      ServerName www.domain.com
>      DocumentRoot /home/domain/html/
>      Redirectmatch ^/(index.html?)?$ /cgi-bin/domain
></VirtualHost>
>
>This may need some tweaking depending on you set up.


In addition to the goodies already mentioned, one can also do:

(index.shtml):

<!--#include virtual="/cgi-bin/foundation"-->

Which has the added benefit of not sending a new URL back to the browser 
(the browser thinks it is still the root directory).

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies      <dan.browning@kavod.com>   |
| (360) 882-7872 x7, 6700 NE 162nd Ave, Suite 210, Vancouver, WA   |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Gordon's first law:
         If a research project is not worth doing, it is not worth doing
well.