Aparajita,
I've discovered a few things.
1. I removed Apache from the equation, and it had no affect on the outcome.
2. with only * v11.willsub.com * web/willsub/|v11 index.asp in the
virtualhosts.ini, everything works ok.
The host is shown as v11.willsub.com and writebr(current path)
correctly shows /C/Willsub_Projects/Willsub_v11/web/willsub/login/lay_login.asp
3. If I add the www and dev subdomains to the virtualhosts.ini AFTER the v11
entry, everything works ok.
The host is still shown as v11.willsub.com and writebr(current path)
correctly shows
/C/Willsub_Projects/Willsub_v11/web/willsub/login/lay_login.asp
4. If I add the www and dev subdomains to the virtualhosts.ini BEFORE the v11
entry, it breaks.
The host is still shown as v11.willsub.com BUT writebr(current path)
incorrectly shows /C/Willsub_Projects/Willsub_v11/web/login/lay_login.asp
In short:
The following works.
* v11.willsub.com * web/willsub/|v11 index.asp
* www.willsub.com * web/willsub/|live index.asp
* dev.willsub.com * web/willsub/|dev index.asp
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
Again, I get the same result whether I'm proxying from Apache or going directly
to 4D Server.
Thanks,
Mike
-----Original Message-----
In cases like this I always start with a minimal configuration that works,
confirm that the environment is correct, and then add new configurations one by
one and test.
1. Go back to an empty VirtualHosts.ini
2. Enter v11.willsub.com directly in your browser
3. <% a4d.debug.dump request info %> to confirm that the Host header is correct.
4. Add the line * v11.willsub.com * web/willsub/|v11 index.asp to
VirtualHosts.ini, wait a minute, then try again and put
<%
a4d.debug.dump request info
writebr(current path)
%>
in web/willsub/index.asp
5. If 4 works, try going through apache and see what happens
Kind regards,
Aparajita
www.aparajitaworld.com
-------------------------------------------------------------------------
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/