How to create symbolic link to html file and avoid page link problem?
I have 'docs' folder which is normal programming document.
When I try to create sym link for it, so I can access the page with ease, with the following command. Code:
ln -s /data1/docs/index.html /home/haxpor/Desktop/API_DOC In the URL of the browser, it shows 'file:///home/haxpor/documentation.html', which is absolutely wrong. So I look in the 'index.html' file and see that it will load up 'document.html' first with the following href-tag. Code:
<h1><a href="./documentation.html">Documentation</a></h1> Is it right to link to my home folder? How can I solve this problem so I can browse for all links in 'docs' folder without problem? Thanks in advance. |
Quote:
Then you can open the "API_DOC" folder and click on "index.html". |
Thanks David1357,
But Is there anyway that I can link to it, load it up, and not even click on the file in file browser? |
All times are GMT -5. The time now is 12:36 AM. |