[CentOS] apache virtual host

Ceg Ryan cegryan at gmail.com
Tue Feb 14 06:52:40 UTC 2006


where is your "namevirtualhost" and how you define it  ??


On 2/14/06, Craig White <craigwhite at azapple.com> wrote:
>
> I don't ever do this...
>
> Shouldn't this be enough to set up a virtual server in apache?
>
> I did create an entry in /etc/hosts and in dns for this fqdn
>
> it still gives me the contents of /var/www/html and
> not /home/craig/ruby-db/th-db/public
>
> <VirtualHost *>
> DocumentRoot "/home/craig/ruby-db/th-db/public"
> ServerName app-server.tobyhouse.com
> <Directory "/home/craig/ruby-db/th-db/public">
>    allow from all
>    Options Indexes ExecCGI FollowSymLinks
>    ReWriteEngine On
> </Directory>
> </VirtualHost>
>
> What am I missing?
>
> Thanks
>
> Craig
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060214/150d19db/attachment.html>


More information about the CentOS mailing list