> So to prevent people calling .a4d files in the Fusebox site directly, any > .a4d file in the Fusebox site should start with / include on top: > > <% if (isFuseboxRequest = false) > redirect("http://Fuseboxsite/index.a4d") > end if > %>
1. Be sure to give your virtual hosts a name in VirtualHosts.ini. 2. Check request info{"*virtual host"} in the On Execute event handler in Active4D.a4l. 3. Redirect if necessary. 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/