Re: ln command (hard and symbolic links)

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Darrin Chandler
Data:  
Para: Main PLUG discussion list
Asunto: Re: ln command (hard and symbolic links)
On Fri, Nov 09, 2007 at 01:04:01PM -0800, keith smith wrote:
>
> You say "If this is a common situation, perhaps you can just share a
> directory between vhosts instead, and put all the common files in
> there."
>
> Sharing a directory between hosts would be great. Now all I have to
> do is find out how. As you can see being a Linux admin is not my
> primary skill. I'm a programmer .....


Me, too ;-)

A "serverwide" example is in the stock apache httpd.conf for the icons
directory, which is shared and used for automatic directory indexing, if
you have that enabled. Anyway, in my configs it looks like this:

Alias /icons/ "/var/www/icons/"

<Directory "/var/www/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


So, for any and every virtual host I have I can pull up
http://www.mydomain.com/icons/pie2.png and it works.

-- 
Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
   |  http://phxbug.org/      |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss