I know that you cannot simply set DocumentRoot in htaccess but it's all I have access to. Is there a work around? How should I proceed? Or is this the wrong configuration for a setup like this?
I have a dev server where: www.foo.com is mapped to /usr/www/users/foo.
I then have
- www.foo.com/peter => /usr/www/users/foo/peter
- www.foo.com/paul => /usr/www/users/foo/paul
How can I set $_SERVER['DOCUMENT_ROOT']
to map to /usr/www/users/foo/peter and /usr/www/users/foo/paul respectively?
Thanks.