Anyone else have any comments on not using "web_decoy" but instead pointing to the actual web folder?

If you point to a real web folder, you have problems because On Web Connection will not be called -- 4D will serve the file directly.


To get around this with 4D's web server you either have to prepend _every_ Active4D path with /4dcgi, or you have to:

- Prepend a fake directory to the path of Active4D files, which will cause On Web Connection to be called
- Put code in the On Request handler in Active4D.a4l that removes the fake directory


That should do it. I haven't tested this solution but in theory it should work.

Regards,

   Aparajita
   Victory-Heart Productions
   [EMAIL PROTECTED]
   www.aparajitaworld.com

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




Reply via email to