[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Subdomains pointing to directories [was WAP / Archive Searching [was Anybody experienced problems with All Security 3.0.1-6682?]]
- Subject: Re: [cobalt-users] Subdomains pointing to directories [was WAP / Archive Searching [was Anybody experienced problems with All Security 3.0.1-6682?]]
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Fri Sep 15 02:58:58 2000
> > > Just create DNS records as you normally would. Create the site as you
> > >normally
> > > would. Edit httpd.conf and change:
> > > DocumentRoot /home/sites/siteXY/web
> > > to:
> > >
> > > DocumentRoot /home/sites/siteXY/web/my_directory
> >
> > You meant
> > DocumentRoot /path/to/wherever
> > and
> >
> > > Then restart Apache.
> > /etc/rc.d/init.d/httpd restart
> >
> > Zeffie
>
> Hi,
> does this keep a user within his directory structure - that is not let him
> go up above the "my_directory" with an FTP program ?
>
> Jim Carey
No it will have no effect on ftp settings. And never point it towards
something like /etc or /bin/ or /anything but a directory that you are not
prepared to defend anything in the contents of. ie: "don't pull your pants
down in public" or "Don't allow http access to system/user files"
Zeffie
"We don't need no stink'in http 1.0"