[CentOS] apache virtual host

Craig White

craigwhite at azapple.com
Tue Feb 14 06:41:16 UTC 2006


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




More information about the CentOS mailing list