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

Re: [cobalt-users] viewing virtual domains before propagation



InterVision <dannyf@xxxxxxxxxxx> wrote:
> I did this:
> add virtual site: preview.domain.com
> opened as su httpd.conf: pico /etc/httpd/conf/httpd.conf
> searched for preview.domain.com
> and where it was: /home/sites/siteXXX/web
> i changed it to: /home/sites

There are some serious implications associated with changing a virtual
site's root web directory to "/home/sites".

1. Unless you limit access by placing an .htaccess file in /home/sites with
the proper parameters, anyone will be able to browse the entire contents of
/home/sites.
2. If you delete the site with this configuration (accidentally or
otherwise) you will delete everything in /home/sites.

There are other solutions that are more elegant.  Search the archives.

Steven Werby {steven-lists@xxxxxxxxxxxx}