apache virtual host

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



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


[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