apache virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


On 2/14/06, Craig White <craigwhite@xxxxxxxxxxx> 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@xxxxxxxxxx
> 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.htm

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux