If request is coming from http://xxx.domain.com,
i want to be able to say;
DocumentRoot /home/${SUBDOMAIN_NAME}
so that Virtual host's DocumentRoot will be assigned to /home/xxx
Any way I can accomplish this?
Thanks, D
ps: please don't worry about security or how bad this idea is. I have over-simplified the problem for the sake of simplicity.
Real usage will be as follows:
<IfModule mpm_itk_module> AssignUserId ${SUBDOMAIN_NAME} usergroup </IfModule>
There will be a unix user with the corresponding subdomain name.