Re: ln command (hard and symbolic links)

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: keith smith
Date:  
To: Main PLUG discussion list
Subject: Re: ln command (hard and symbolic links)
Thank you very much!

And it looks like someone actually own mydomain.com and your link worked.


Darrin Chandler <> wrote: 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/"


    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all



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





------------------------
Keith Smith
(480) 584-4772
PHP Programming


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com ---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss