Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache22 FreeBSD Install and Virtual Hosts not working

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  could not access apache server  
Author Message
Bert

External


Since: May 09, 2006
Posts: 1



(Msg. 1) Posted: Tue May 09, 2006 11:28 pm
Post subject: Apache22 FreeBSD Install and Virtual Hosts not working
Archived from groups: alt>apache>configuration (more info?)

I am trying for a pretty basic install here but to no avail.

FreeBSD 6.0
Apache22 (From Ports)

Apache serves pages from the default folder but...

I get the following error on a restart

httpd: Syntax error on line 407 of /usr/local/apache2/conf/httpd.conf:
Include directory '/usr/local/apache2/conf/Includes' not found

There is no Includes directory

If I make one I get

httpd: bad user name %%WWWOWN%%



My Virtual hosts do not serve either even though I have filed in the
httpd-vhosts.conf and removed the # from the VirtualHosts line in the
httpd.conf, I just get the default directory. but I'm not sure if
it's because of one of the above.


Any thoughts?

Thanks

Bert

 >> Stay informed about: Apache22 FreeBSD Install and Virtual Hosts not working 
Back to top
Login to vote
JohnR

External


Since: May 13, 2006
Posts: 2



(Msg. 2) Posted: Sat May 13, 2006 8:56 am
Post subject: Re: Apache22 FreeBSD Install and Virtual Hosts not working [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 09 May 2006 23:28:03 +0100, Bert wrote:

> I am trying for a pretty basic install here but to no avail.
>
> FreeBSD 6.0
> Apache22 (From Ports)
>
> Apache serves pages from the default folder but...
>
> I get the following error on a restart
>
> httpd: Syntax error on line 407 of /usr/local/apache2/conf/httpd.conf:
> Include directory '/usr/local/apache2/conf/Includes' not found
>
> There is no Includes directory
>
> If I make one I get
>
> httpd: bad user name %%WWWOWN%%
>
The user apache runs on is probably not defined. Take a look at the User
directive in httpd.conf
>
>
> My Virtual hosts do not serve either even though I have filed in the
> httpd-vhosts.conf and removed the # from the VirtualHosts line in the
> httpd.conf, I just get the default directory. but I'm not sure if it's
> because of one of the above.
>
What I did is put different conf-files in my Includes directory. These
contain:
<VirtualHost *:80>
ServerName fqdn.tld
ServerAdmin webmaster.DeleteThis@fqdn.tld
DocumentRoot /usr/local/www/data/tqdn
ErrorLog /var/log/httpd/fqdn_error_log
CustomLog /var/log/httpd/fqdn_access_log combined
</VirtualHost>

Good luck


--
/(bb|[^b]{2})/

 >> Stay informed about: Apache22 FreeBSD Install and Virtual Hosts not working 
Back to top
Login to vote
Andrew Kenna

External


Since: May 11, 2006
Posts: 3



(Msg. 3) Posted: Sat Jul 01, 2006 3:02 pm
Post subject: Re: Apache22 FreeBSD Install and Virtual Hosts not working [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The Include statement is to include a plain text configuration file... take
a look in the conf/extras directory and see if there are any files listed in
there that aren't mentioned in the conf/httpd.conf...

Andrew

"Bert" <bert.DeleteThis@nospamremovethis.akitanet.co.uk> wrote in message
news:dq52621frhk7512ej9jhf94shdpn8rv7se@4ax.com...
> I am trying for a pretty basic install here but to no avail.
>
> FreeBSD 6.0
> Apache22 (From Ports)
>
> Apache serves pages from the default folder but...
>
> I get the following error on a restart
>
> httpd: Syntax error on line 407 of /usr/local/apache2/conf/httpd.conf:
> Include directory '/usr/local/apache2/conf/Includes' not found
>
> There is no Includes directory
>
> If I make one I get
>
> httpd: bad user name %%WWWOWN%%
>
>
>
> My Virtual hosts do not serve either even though I have filed in the
> httpd-vhosts.conf and removed the # from the VirtualHosts line in the
> httpd.conf, I just get the default directory. but I'm not sure if
> it's because of one of the above.
>
>
> Any thoughts?
>
> Thanks
>
> Bert
 >> Stay informed about: Apache22 FreeBSD Install and Virtual Hosts not working 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Virtual Hosts not working - Got 2 virtual hosts and the virtualhost basic whevever I goto www.mydomain1.com it's fine, but when I goto www.mydomain2.net it points to the default:80 vhost my configuration is: namevirtualhost * <virtualhost *> servername domain1.com extrabi...

Virtual host help apache 1.3 and freeBSD - I have been trying to get the virtual host working on my server so far When I type in the browser www.myshaft.com I get "Cannot find server" messagebut when I type any of the IPs' I get the Apache confimation page too display, this is all I hav...

Vitual Hosts not working after an upgrade from apache 1.3 .. - Hi, I just upgraded a suse box from 8.2 to 9.1 and had to rewrite the apache config to suit v2.0. The problem is trying to get named based virtual hosts working. I created a file /etc/apache2/vhosts.d/vhosts.conf that includes the virtual hosts..

virtual hosts... need help please - Hi NG. I'm having trouble configuring Apache to run with more than 1 host. I've read the config describtion ofcause but when I try to do what it says I can't seem to get it to work. If anyone could post the changes they have made to their httpd.conf to...

Virtual Hosts - Hi everyone, I am new to apache, so if my question is answered in the groups faq, or on the apache web site, feel free to tell me to f**k off and read there. However I have looked through the manual, and cant find any reference to the issues im having...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]