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

[cobalt-users] problems allowing symbolic links



I've set apache to allow symbolic links so we can create a "sites." subdomain with links to all our clients' sites before the DNS has been set up.

Here's the section of our /etc/httpd/conf/access.conf file that determines whether symbolic links are allowed:

As far as I can see, this should work.

> <Directory /home/sites/*>
>
> # This may also be "None", "All", or any combination of "Indexes",
> # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
>
> # Note that "MultiViews" must be named *explicitly* --- "Options All"
> # doesn't give it to you.
>
> #Options Indexes SymLinksIfOwnerMatch Includes

> Options Indexes FollowSymLinks Includes
>
> # This controls which options the .htaccess files in directories can
> # override. Can also be "All", or any combination of "Options", "FileInfo",
> # "AuthConfig", and "Limit"
>
> #AllowOverride All
> AllowOverride None
>
> # ignore .files
> #<Files "\.*">
> #deny from all
> #</Files>
>
> # Controls who can get stuff from this server.
>
> order allow,deny
> allow from all
>
> AuthFailDelay 2000000
> </Directory>

The "sites.domain.com" directory is "home/sites/site7/web".

It's got symbolic links for domain1 --> /home/sites/site1/web"
and for                     domain2 --> /home/sites/site5/web"

Each "web" directory has index.htm and a subdirectory called images.

Each index.htm calls images in the image subdirectory as follows: "images/imagename.typ"

So how come site1 shows us the images in the browser when we follow the link, but shows us a broken images for the images in the browser when we follow the link for site5?

Help, please... I know this is an httpd issue; but I know that the RaQs don't have "standard .conf" files, and I know it's not working <frown>.

Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>