Re: Link file not opening on webserver

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

 



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@xxxxxxxxxxx
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
Author of:    	Linux Smart Homes For Dummies


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux