> In short:
> The following doesn't.
> 
> * www.willsub.com * web/willsub/|live index.asp
> * dev.willsub.com * web/willsub/|dev index.asp
> * v11.willsub.com * web/willsub/|v11 index.asp

Here is my setup:

Windows 7
4D v11.8 standalone, acting as web server
Active4D v5r27

I took my demo database and added a willsub directory in web, copying *only* 
the following files from the web directory:

web
  willsub
    fbx_circuits.a4d
    fbx_layouts.a4d
    fbx_settings.a4d
    fbx_switch.a4d
    index.a4d
    views
      dsp_errorHandler.a4d
      dsp_hello.a4d
      layouts
        dsp_footer.a4d
        dsp_htmlHeader.a4d
        dsp_masthead.a4d
        dsp_sidebars.a4d
        dsp_xhtmlHeader.a4d
        lay_main.a4d

I added three entries to the top of VirtualHosts.ini:

* www.willsub.com * web/willsub/|live *
* dev.willsub.com * web/willsub/|dev *
* v11.willsub.com * web/willsub/|v11 *

I added this to dsp_hello.a4d:

  <p>path: <%= current path %></p>
  <p>host: <%= request info{"Host"} %></p>
  <p>vhost: <%= request info{"*virtual host"} %></p>

I tried each of the three hosts, and in each case got the correct values:

www.willsub.com
path: /C/path/to/db/web/willsub/views/dsp_hello.a4d
host: www.willsub.com
vhost: live

dev.willsub.com
path: /C/path/to/db/web/willsub/views/dsp_hello.a4d
host: dev.willsub.com
vhost: dev

v11.willsub.com
path: /C/path/to/db/web/willsub/views/dsp_hello.a4d
host: v11.willsub.com
vhost: v11

So I am at a loss as to what is going wrong for you. Can you try doing exactly 
what I did with the demo and see if you get the same result?

Kind regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to