Here's a weird one. I've recently set up a Linux (Mandrake 9) web server with Apache 1.3.27, then copied all my files from a hosted server to this new one. Everything is working so far, except for one anomaly... I have a Java applet that displays panoramic photos, and Apache just doesn't want to find the Java class files needed for the applet.
My set-up is like this:
File with the applet code:
Applet code:
<APPLET
CODEBASE = "java/"
CODE = "the_applet.class"
...etc>
Location of the_applet.class:
However, whenever I load the page, I get an error 'the_applet.class not found' from MSIE, or 'Java executable not found' from Konqueror.
I know the class file is there and readable, because I can access it directly from either browser (e.g. by typing the URL
But no matter how I set the CODEBASE path, the page refuses to 'find' the class file.
I don't really know that this is an Apache problem as such, but I'm not sure what else it would be. This exact same combination of files and paths worked fine on the hosted server (also a Linux box), and it also works on a Windows XP box. Anyone have a suggestion here?
My set-up is like this:
File with the applet code:
Applet code:
<APPLET
CODEBASE = "java/"
CODE = "the_applet.class"
...etc>
Location of the_applet.class:
However, whenever I load the page, I get an error 'the_applet.class not found' from MSIE, or 'Java executable not found' from Konqueror.
I know the class file is there and readable, because I can access it directly from either browser (e.g. by typing the URL
But no matter how I set the CODEBASE path, the page refuses to 'find' the class file.
I don't really know that this is an Apache problem as such, but I'm not sure what else it would be. This exact same combination of files and paths worked fine on the hosted server (also a Linux box), and it also works on a Windows XP box. Anyone have a suggestion here?