LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2010, 06:31 AM   #1
markdibley
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Rep: Reputation: 0
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
 
Old 07-13-2010, 08:45 AM   #2
markdibley
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
"Multiple definition of" and "undefined reference to" in QT Creator with QJson lib echelon89 Programming 1 05-01-2009 06:48 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Cedega from Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Software 0 03-30-2005 11:24 AM
Cedega and Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Games 0 03-26-2005 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration