Link file not opening on webserver

Paul Ward pnward at googlemail.com
Thu May 24 12:37:26 UTC 2007


Hello,

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/
 # ls -l /var/www/html
 lrwxrwxrwx 1 root root 23 May 13.19 myfile.html -> /home/user/myfile.html

When going to my webserver http://myfile.html does not open up I get a
permisson problem how do I get round this?

-----------------------------------------------------------------------------------------------------
Forbidden

You don't have permission to access myfile.html on this server
-----------------------------------------------------------------------------------------------------

I did a lsattri but this did not show anything unusual and SELinux is off.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070524/735325a0/attachment-0001.htm>


More information about the fedora-list mailing list