The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 RE: Virtual Host problem.
Author: SViper68 
Date:   27-10-00 02:41

ok ok...i will try this one more time. I have apache running on my BSD box. It is hosting a hardware site on it. Everything was working fine until I wanted to host another on the same machine. So what I did was setup a virtual host for the other site which is an Amime site. When I added the entry into the apache.conf file, it looked something like this.

<VirtualHost 1.0.1.0>
DocumentRoot /usr/home/anime
ServerName www.anime.com
</VirtualHost>

When I do this, the origanal site which resides in the /usr/local/www/data dir. Dosn't work all the way. For example, Without the Virtual host installed if you went to http://test.website.net/about it would show the about page. When you enable the virtual host, that page nolonger comes up. A page cannot be found screen appears. Even when you type the full address http://test.website.net/about/index.html it will not work. Also any member's pages that reside in their home dir will not work when the virtual host is enabled. example. http://test.website.net/~user would pull up a page if one was created. Hope this helps.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Virtual Host problem.   new
SViper68 26-10-00 06:25 
 RE: Virtual Host problem.   new
Roman Serbski 26-10-00 15:17 
 RE: Virtual Host problem.   new
SViper68 26-10-00 21:10 
 RE: Virtual Host problem.   new
Dan Langille 27-10-00 01:53 
 RE: Virtual Host problem.   new
SViper68 27-10-00 02:41 
 RE: Virtual Host problem.   new
Roman Serbski 27-10-00 05:06 
 RE: Virtual Host problem.   new
SViper68 27-10-00 05:39 
 RE: Virtual Host problem.   new
Dan Langille 27-10-00 20:00 
 RE: Virtual Host problem.   new
SViper68 27-10-00 20:25 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org