[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Site Folders -Linux Newbie
- Subject: Re: [cobalt-users] Site Folders -Linux Newbie
- From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
- Date: Fri Jun 30 16:26:38 2000
Alonso Garcia <alonsog@xxxxxxxxxxxxx> wrote:
> Can someone briefly explain why there's two folders for each site? One is
> the www.site.com folder and another folder for site#. I'm new to linux and
> apache and I got a little confused when I saw those folders.
Hi Alonso. /home/sites/siteXY is the actual directory name.
/home/sites/www.site.com is a symbolic link that points to the actual directory name.
Cobalt set it up this way so you wouldn't have to remember the site names.
> Also, how can you tell which folder corresponds to which site? besides
> manually comparing files.
ls -l /home/sites/
> And last but not least, does it make a difference how you reference a path
> to a site when using a cgi script for example: /home/sites/site1/web as
> opposed to /home/sites/www.sitename.com/web?
/home/sites/site1/web works. /home/sites/www.sitename.com/web might work too. It
depends on how Apache is configured on your server. Give it a try.
Steven Werby {steven-lists@xxxxxxxxxxxx}