Hi,
I'm configuring apache 1 (one) for testing of php pages.
I need to alter the document root on a per site basis such that $_SERVER['DOCUMENT_ROOT'] will give the stem for the base page of any particular site.
I'm not sure whether it is alias-ing or virtual host-ing. I think, from reading httpd.conf that it's the later. However will I need to add a vhost section for each directory or is there a quicker way.
My test sites are under:
/var/www/htdocs/test/sitename
/var/www/htdocs/test/site2
So I assume then I'll put
http://sitename in my browser to access the site?
Thanks.
pbhj