Re: Link file not opening on webserver

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

 



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@xxxxxxxxxxxxxx>
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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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

  Powered by Linux