PDA

View Full Version : let clients change the website DocumentRoot within the default DocumentRoot


Justin Albstmeijer
17th August 2011, 19:57
Hi,

I have a similar request as

http://www.howtoforge.com/forums/showthread.php?t=48279

I too get requests from Zend and other framework users that need a clean folder for their website code checkout (svn) but need to distinguish between private and public code.


So it would be great if a user could configure a suffix to the default DocumentRoot in the website config like, "/public"

Making the DocumentRoot /var/www/website/web/public

This would allow the client to checkout the code in /var/www/website/web/ and have /var/www/website/web/private containing libraries and other stuff that does need to be publicly accessible.

Currently I have to override the DocumentRoot as admin user like the forum post mentions.
Would be better if clients could do this themselves.

Justin