> I am currently using 4D's built in web features but find writing code a bit > on the slow and > cumbersome side.
I'm glad to see someone finally admit it! :-) Once you get used to the power and flexibility of Active4D, you will never look back. > Is there some mechanism in A4D > that would allow me to modify the incoming stream so that the correct > version of the file for the customer gets executed? > > For example the web folder might look like this: > > /Web > /v40000 > /v50000 > /v60000 > > Depending on the client when index.a4d comes in can I have the files from > /v40000 served to several customers and files from /v50000 server to several > other ones based on a setting in the DB for the customer? There are two mechanisms you can use: 1. If the hostnames or IP addresses of the sites are different, you can use VirtualHosts.ini to set different web roots (see "Virtual Hosting" in the docs). That is the easiest way and doesn't require any coding. 2. If you need to query the DB, use the On Request event handler to do the query and then modify the url accordingly. See the "Event Handlers" chapter in the docs. Regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list Active4D-dev@aparajitaworld.com http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/