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

HTML links to local files that are symbolic links.



I want to put a hypertext link to a file that is a symbolic link to an actual html page, and it doesn't work.
The browser responds:The requested URL /~yonin/soft_links/SimpleApplet.html was not found on this server.
 
Does anyone know the reason for this?
 
    Yoni Nazarathy.
 
My HTML code is as follows:
 
...
<a href="hard_links/SimpleApplet.html"> SimpleApplet with hard link</a>
<p>
<a href="soft_links/SimpleApplet.html"> SimpleApplet with soft link</a>
...
 
And this is the situation with the file system:
 
/home/yonin/public_html >ls -l -R
drwxr-xr-x   2 yonin    users        512 Jul 20 15:09 hard_links
-rw-r--r--   1 yonin    users        655 Jul 20 11:22 index.html
-rw-r--r--   1 yonin    users        436 Jul 20 15:24 my_java.html
drwxr-xr-x   2 yonin    users        512 Jul 20 15:22 soft_links
 
./hard_links:
-rw-r--r--   2 yonin    users        425 Jul 20 14:58 SimpleApplet.class
-rw-r--r--   2 yonin    users         59 Jul 20 15:06 SimpleApplet.html
 
./soft_links:
lrwxrwxrwx   1 yonin    users         45 Jul 20 15:22 SimpleApplet.class ->          
                                                    /home/yonin/java/12chapter/SimpleApplet.class