> Why would the web root directory be locked to Document List?

I have fallen for this myself a few times. From the docs, page 354:

"For security reasons, all paths are checked to ensure they are either within 
the web root directory or within one of the directories specified by the “safe 
doc dirs” option in Active4D.ini. Aliases are resolved prior to checking.

If you want to use document commands on files outside of the root directory, 
you must add the directory path to the “safe doc dirs” path list in 
Active4D.ini."

The web root itself is outside the web root -- it's in its parent directory. So 
you can't ask for the list of the root unless you add the web root to "safe doc 
dirs".

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://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to