I have a named virtual host test.mysite.com
<VirtualHost *>
DocumentRoot /var/www/test
ServerName http://www.test.mysite.com
ServerAlias test.mysite.com
</VirtualHost>
Code: Select all
$docroot = dirname($_SERVER['DOCUMENT_ROOT'].'/');Would some kind soul point my to a url where I can get my head around my mistake please?
Thanking you in anticipation,
bladecatcher