Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13
Display Menu From Perl Script in a Virtual Directory
Poster: The_Paul
Dated: Thursday September 11 2003 - 20:30:31 BST
I would like to display the Menu on a number of pages generated by a Perl Script. Normally this would be no problem as I could just use the normal method of including .js files.
My problem is that Perl scripts on my server are placed in a virtual directory rather than in wwwroot with the rest of my web documents. The actual location of the menu files is of course under wwwroot.
I have had no luck in finding a way to include the .js menu files that reside under the wwwroot into my perl pages that are located outside of wwwroot.
Does anyone know of a way to include javascript files that reside outside of a virtual directory?
Poster: Andy
Dated: Thursday September 11 2003 - 23:12:57 BST
Don't think it's possible, unless you know how to configure your web server to do so.
The menu is normally called with the http protocol and your web server won't allow you to view files in a directory lower than wwwroot.
There may be a way to configure you web browser but I dont know how.
However, I can't see the reason for doing this as the menu is client side and is only delivered to a web browser as a text file. So in reality the file can be called from anywhere within the wwwroot tree
Hope this helps
Andy