You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by OOzy Pal <oo...@gmail.com> on 2006/06/09 15:42:23 UTC
[users@httpd] Virtual Hosts
Apache will not start. This happened when I add named-based VH. What
is wrong with my conf. Basically, I want to do name-based VH's.
Bellow is my conf:
NameVirtualHost *
<VirtualHost *>
<Directory /var/www>
Options FollowSymLinks
AllowOverride None
Allow from All
</Directory>
ErrorLog "/var/www/var/log/apache_error_log"
CustomLog "/var/www/html/ez/var/log/apache_access_log" common
DirectoryIndex index.php
DocumentRoot /var/www/
ServerName www.b1.com
ServerAlias localhost
</VirtualHost>
<VirtualHost *>
<Directory /home/hab/www/html/ez>
Options FollowSymLinks
AllowOverride None
Allow from All
</Directory>
ErrorLog "/home/hab/www/html/ez/var/log/apache_error_log"
CustomLog "/home/hab/www/html/ez/var/log/apache_access_log" common
DirectoryIndex index.php
DocumentRoot /home/hab/www/html/ez/
ServerName www.ez.com
ServerAlias admin.ez.com
</VirtualHost>
--
OOzy
Kubuntu-Dapper
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtual Hosts
Posted by OOzy Pal <oo...@gmail.com>.
On 6/9/06, Joshua Slive <jo...@slive.ca> wrote:
> On 6/9/06, OOzy Pal <oo...@gmail.com> wrote:
> > $sudo apachectl restart
> >
> > /usr/sbin/apachectl restart: httpd not running, trying to start
> > /usr/sbin/apachectl restart: httpd could not be started
>
> Again: What is in the apache error log?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
oooooooooooooops, a typo. I my VH error was pointing to a dir that
does not exists.
Thank you
--
OOzy
Kubuntu-Dapper
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtual Hosts
Posted by Joshua Slive <jo...@slive.ca>.
On 6/9/06, OOzy Pal <oo...@gmail.com> wrote:
> $sudo apachectl restart
>
> /usr/sbin/apachectl restart: httpd not running, trying to start
> /usr/sbin/apachectl restart: httpd could not be started
Again: What is in the apache error log?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtual Hosts
Posted by OOzy Pal <oo...@gmail.com>.
$sudo apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
/usr/sbin/apachectl restart: httpd could not be started
----------------
$sudo apache -t
Syntax OK
--------------------
$sudo apache -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server www.b1.com
(/home/hab/www/config/httpd.vh.conf:31)
port 80 namevhost www.b1.com
(/home/hab/www/config/httpd.vh.conf:31)
port 80 namevhost www.ez.com
(/home/hab/www/config/httpd.vh.conf:48)
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtual Hosts
Posted by Joshua Slive <jo...@slive.ca>.
On 6/9/06, OOzy Pal <oo...@gmail.com> wrote:
> Apache will not start. This happened when I add named-based VH. What
> is wrong with my conf. Basically, I want to do name-based VH's.
What happens when you try to start it? What is in the error log?
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org