Link file not opening on webserver

Neil Cherry ncherry at linuxha.com
Fri May 25 00:51:22 UTC 2007


Tim wrote:
> On Thu, 2007-05-24 at 13:37 +0100, Paul Ward wrote:
>> Can anyone tell me how to link a file from from my home directory
>> to /var/www/html so it can be a acccessed remotley.
>>
>> I used the following to link the file which worked fine.
>>
>>  # ln -s myfile /var/www/html/
> 
> That's linking a file to a directory?

No it's a link to a file, it's in that directory because the
directory already exists. The file name will be myfile.

BTW, does the OP have Apache configured to follow links?

-- 
Linux Home Automation         Neil Cherry       ncherry at linuxha.com
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
Author of:    	Linux Smart Homes For Dummies




More information about the fedora-list mailing list