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.
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 05:39

IM sorry the domains I used were in example as I did not want to give out the ones I have already...and I do own domains already pointing to my ip. Ok now that we have that settled lets get into the grubby stuff. Here is the first Virtual host entry I tried.


DocumentRoot /usr/home/anime
ErrorLog /var/log/apache/error.log
CustomLog /var/log/apache/custom.log

Mind that this is entered at the end of the apache.conf file and that it is in front of the Frontpage access virtual host entry.

The information I was given beforehand from Roman was incorrect. You cannot have just <VirtualHost> the ./apachctl graceful will not run when that is like that. I have mine set to <VirtualHost>. Also it didnt like the Customlog so I commented that out.

I dont like this but what I have to do to get the two sites working with their subs is by adding in an entry into the apache.conf for a virtualhost. I dont know why...but the users can also access their dir either by using the 1st server address or second...IE

Wierd I must say. Thanks for the help.

 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:
 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