You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Steve Arbayo <sa...@telis.org> on 2000/12/01 01:22:32 UTC
os-windows/6915: Navigator behavior change under Apache local/host server
>Number: 6915
>Category: os-windows
>Synopsis: Navigator behavior change under Apache local/host server
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Nov 30 16:30:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: sarbayo@telis.org
>Release: 1.3.12 (Win32)
>Organization:
apache
>Environment:
Windows 95 with NN 4.x
>Description:
Html/javascript code runs on the "www", but, same code will not run correctly
on the Apache //localhost: server.
There is a significant difference in how files are handled on the Apache-Win32
versus the "web".
When writing and testing "HTML" code, "http://" url's will not work. Quite
interestingly, this affects "HTML" only, as in this example:
"<img src="http://localhost:4444/images/9.gif">" does NOT work !
"<img src="file://D|/Perl56i/images/9.gif">" does work !
however, when I use javascript, I can use relative URL's, such as:
image.src = "../images/9.gif"; -or-
image.src ="http://localhost:4444/images/9.gif"
also, when I write javascript "functions", many will not function correctly
when the //localhost: is mounted, so I have to test them with the browser in
"stand-alone mode".
This is not a "Browser" specific problem. I have tested this under several
versions of Netscape (v4.08, v4.5, v4.75) with the exact same results.
I have no idea why the Apache alters the behavior of the browser.
Thanks for your help,
Steve A. <sa...@telis.org>
>How-To-Repeat:
HTML example:
<table>
<tr>
<td><img border="0" src="http://localhost:4444/images/box.jpg" width="100" height="100"></td>
<td><img border="0" src="file:///D|/Perl56i/images/box.jpg" width="100" height="100"></td>
</tr>
<...>
in this instance, only the second image will display, where actually they
should both work.
Javascript example:
<script>
function print_to_msgWindow() {
//this function should print to msgWindow
msgWindow.document.image.src = "../images/box.jpg";
msgWindow.document.image.src = "http://localhost:4444/images/box.jpg";
}
</script>
this function does not work on //localhost:,
but, does on the "www".
>Fix:
None found yet.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]