From: Jamie C. <jca...@we...> - 2003-11-24 21:39:28
|
John Horne wrote: > Helo, > > Does anyone know if it is possible to add file links to a modules help > file(s)? I want to add a link pointing to a dynamic text local file, > such as: > > <A HREF=file: > > The problem is that whilst the file will be in the modules main > directory (not in the help directory), that directory will have a > different absolute path depending on the O/S being used. If I try using > > <A HREF=file:///../file_name > > it doesn't work. Something of a security risk of course with those '..'! > The link will no doubt resolve to some initial directory, but what is > needed is some generic way of saying' from this modules directory'. > > Any thoughts? Using file:// links like that is probably not a good idea, as they are interpreted by the web browser to refer to files on the *client* system. Unless the user is running a browser on the same box as webmin, files in the module directory will be inaccessble .. Help files can contain links to each other though, with HTML like : <a href=pagename>blah</a> which would link to help/pagename.html - Jamie |