Page is a not externally linkable
fish_eye - 10:42 pm on Aug 6, 2007 (gmt 0)
The set up on the new VPS is Virtuozzo / WHM / cPanel. In order to do the testing I create the account and I then access it using the url In my code I have things like this: When I test I get the following error: So.... I have tried to add s new document root to some existing code found in my httpd.conf. The first 3 lines and the last line are existing and the rest is new It breaks my VPS :( 1) Firstly, am I barking up the wrong tree? If so can you please point me in the right direction. 2) Secondly, if this is roughly correct what am I doing wrong? Thanks, Sam.
I am in the process of moving from reselling virtual hosting to VPS (yay!) and I'm also upgrading versions of PHP and MySQL at the same time so I want to test each site before I change the DNS. http://host.foo.com/~newaccount <?php include $_SERVER['DOCUMENT_ROOT'] . '/code/_top.html';?> Unable to access /usr/local/apache/htdocs/code/_top.html in /home/newaccount/public_html/index.php on line 32 <VirtualHost 999.999.999.999>
ServerName host.foo.com
DocumentRoot /usr/local/apache/htdocs
<Directory /home/newaccount>
DocumentRoot /home/newaccount/public_html
</Directory>
</VirtualHost>