View Single Post
  #3  
Old 1st November 2005, 16:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Quote:
Originally Posted by rosa hsiao
1) the original DocumentRoot of www.tabxx1.com had been changed from /var/www/html to /home/www/web.
Thats normal. But the document root has not been changed to /home/www/web, it has changed to /home/www/www.tabxx1.com/web

Quote:
2) If I copy the original webpages from /var/www/html to /home/www/web, both http://www.tabxx1.com and http://www.stkxx1.com will display the same homepage-index.htm.
Copy the contents to the new home directories:

/home/www/www.tabxx1.com/web/

and

/home/www/www.stkxx1.com/web/

Quote:
How can I use /var/www/html as DocumentRoot of www.tabxx1.com and use /home/www/user/web1_abc/web as DocumentRoot of www.stkxx1.com?
You can but its not recommended. If you want to use it you will have to setup namebased vhosts manually in your httpd.conf.

Quote:
3)I have tried to forward http://www.stkxx1.com to http://www.tabxx1.com.tw/~web1_abc, but the following error occured:
"The domain forward contained invalid signs and has therefore been deleted."
Forwards to user wbs are set automatically. Copy the content you want to reach under the URL http://www.tabxx1.com.tw/~web1_abc to the directory:

/home/www/www.tabxx1.com/user/web1_abc/web/

But why do you need the path http://www.tabxx1.com.tw/~web1_abc ?

Last edited by till; 1st November 2005 at 17:05.
Reply With Quote