This is a discussion on Apache22 FreeBSD Install and Virtual Hosts not working within the Apache Web Server forums, part of the Web Server and Related Forums category; I am trying for a pretty basic install here but to no avail. FreeBSD 6.0 Apache22 (From Ports) Apache ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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@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})/ |
|
|||
|
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@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 |