Apache root path reference "/"
Hi
I have a very quick question. I have 2 machines A and B that are identical (supposedly). I have a file /var/www/html/pca.jar I have a page /var/www/cgi-bin/work/view.cgi Only the following html works on machine A <applet code="MainAppApplet.class" archive="/pca.jar" width="550" height="400" name="myApplet" MAYSCRIPT> Only the following html works on machine B <applet code="MainAppApplet.class" archive="../../pca.jar" width="550" height="400" name="myApplet" MAYSCRIPT> Both httpd.conf files are the same except for diff httpd_B.conf httpd_A.conf 68c68 < Timeout 300 --- > Timeout 120 74c74 < KeepAlive On --- > KeepAlive Off 198a199 > LoadModule version_module modules/mod_version.so I don't understand why one machine allows me to use "/" as root and the other doesn't. Could this be set elsewhere? Thanks for your help Mark |
Also,
I would like to have the jar file inside /var/www/cgi-bin/work/. However, the applet fails because apache tries to execute the jar file. Is there any way to have non-executing, but accessible files in a scriptaliased directory? Thanks Mark |
All times are GMT -5. The time now is 03:49 PM. |