TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:20911] Virtual Host and Forbidden



You need:

DirectoryIndex	index.htm

either in the global section or in the VirtualHost declarations.

Adam Maloney
Systems Administrator
Sihope Communications

On Thu, 31 Aug 2000, Apu wrote:

> there is no log file there. Only file there is htdocs. I have made the
> directories for individual users.The root documentroot seems to be not
> working. It may have overridden that with new settings ?
> 
> BTW when I put index.htm on the url after seeing that forbidden it gives me
> one of the users document root's index.htm.
> 
> Seems like I am very close but not quite there.
> 
> Apu
> 
> 
> Adam Maloney wrote:
> 
> > Does the directory exist, and are the permissions correct?  Is Apache
> > looking for a a default document, but there isn't one and apache won't do
> > a directoryindex?
> >
> > You can usually do a:
> >
> > tail -f /usr/local/apache/logs/error_log and get a more admin-parsable
> > error message to see what the real problem is.
> >
> > Adam Maloney
> > Systems Administrator
> > Sihope Communications
> >
> > On Thu, 31 Aug 2000 isla0005@tc.umn.edu wrote:
> >
> > >
> > > I have added the following lines on my httpd.conf
> > >
> > > NameVirtualHost 24.111.111.111.11
> > >
> > > <VirtualHost 24.111.111.111.11>
> > > ServerName work.apu.homeip.net
> > > DocumentRoot /usr/users/work/www
> > > </VirtualHost>
> > >
> > > <virtualHost 24.111.111.11>
> > > ServerName leffew.apu.homeip.net
> > > DocumentRoot /usr/users/leffew/www
> > > </VirtualHost>
> > >
> > > ** IP address is just a dummy one
> > >
> > > When I restart apache and then try to access my page, I get a
> > > " Frbidden" error .
> > >
> > > Any clue ?
> > >
> > >
> > >
> > > Apu
> > >
> > > -----
> > > Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> > > The FREE way to access your mailbox via any web browser, anywhere!
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > > For additional commands, e-mail: tclug-list-help@mn-linux.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
>