ln command (hard and symbolic links)
keith smith
klsmith2020 at yahoo.com
Fri Nov 9 15:14:18 MST 2007
Thank you very much!
And it looks like someone actually own mydomain.com and your link worked.
Darrin Chandler <dwchandler at stilyagin.com> 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
dwchandler at stilyagin.com | http://phxbug.org/ | http://metabug.org/
http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20071109/3a2d463d/attachment.htm
More information about the PLUG-discuss
mailing list