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
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-0002.html>
It's still commented...is that my issue? Craig On Tue, 2006-02-14 at 14:52 +0800, Ceg Ryan wrote:> 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 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos