Hitesh
10-02-2008, 04:31 PM
I am trying setup a test area for my site by setting up a sub domain http://test.mydomain.com/.
To do this I added following to the httpd.conf to set up another Virtual host.
# The test server
<VirtualHost *:80>
ServerName test.mydomain.com
SSLDisable ServerAdmin webmaster@mydomain.com
DocumentRoot /var/www/html/test
DirectoryIndex index.html
ErrorLog /var/log/httpd/test_error_log
TransferLog /var/log/httpd/test_access_log
ErrorDocument 401 /user/register/
ErrorDocument 403 /
ErrorDocument 404 /
</VirtualHost>
This does not work. Can someone please help and suggest how this can be done on westhost. What is wrong here, and how it can be corrected.
Thanks.
To do this I added following to the httpd.conf to set up another Virtual host.
# The test server
<VirtualHost *:80>
ServerName test.mydomain.com
SSLDisable ServerAdmin webmaster@mydomain.com
DocumentRoot /var/www/html/test
DirectoryIndex index.html
ErrorLog /var/log/httpd/test_error_log
TransferLog /var/log/httpd/test_access_log
ErrorDocument 401 /user/register/
ErrorDocument 403 /
ErrorDocument 404 /
</VirtualHost>
This does not work. Can someone please help and suggest how this can be done on westhost. What is wrong here, and how it can be corrected.
Thanks.