Link file not opening on webserver

Joachim Backes joachim.backes at rhrk.uni-kl.de
Thu May 24 12:52:32 UTC 2007


Paul Ward wrote:
> 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

Does the webserver have read access to your myfile? (chmod xx4 myfile)?

> 
> 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.
> 


-- 
Joachim Backes <joachim.backes at rhrk.uni-kl.de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6088 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070524/c5aebd21/attachment-0001.bin>


More information about the fedora-list mailing list