Closed Bug 833425 Opened 12 years ago Closed 12 years ago

windows 7 hostname issue

Categories

(Core :: Networking: DNS, defect)

18 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jeff.sadowski, Unassigned)

Details

Attachments

(2 files)

Attached file jquery_test_page.html
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130116073211 Steps to reproduce: I have apache installed on my local machine I have necessary jquery files on my machine I have firefox 18.0.1 installed on my machine Actual results: When I go to 127.0.0.1/jquery_test_page.html It works fine if I go to localhost/jquery_test_page.html It works fine if I go to <local machines ip address>/jquery_test_page.html It works fine if I go to <HOSTNAME>/jquery_test_page.html in the web console I get the message ReferenceError: $ is not defined if I go to <FQDN>/jquery_test_page.html in the web console I get the message ReferenceError: $ is not defined Expected results: Should work the same for all cases. Does for every other browser.
jquery used in the other attached file to go in jquery subdirecty at root of apache server
This is a localhost issue only viewing from any other machine with firefox works correctly.
The first question is - does Internet Explorer works fine in cases 4-5?
Component: Untriaged → Networking: DNS
Product: Firefox → Core
Flags: needinfo?(jeff.sadowski)
(In reply to Phoenix from comment #3) > The first question is - does Internet Explorer works fine in cases 4-5? Yes IE8 works correctly so does Chrome and Safari. My coworker noticed it first he was having problems getting jquery working on his own test server and I wasn't I was using 127.0.0.1 and he was using the name of his machine. We tried it in all other browsers we had installed(IE8, chrome, and safari.) Sure enough I tried my machines name in place of 127.0.0.1 and had the same jquery issue.(I think it would do the same for other external from the page, javascript loaded pages) It might be on how ff processes "<script src=" is my best guess.
Flags: needinfo?(jeff.sadowski)
There is a ipv6 bug floating around that I wonder if could be relevant..
Ok I'm no longer sure this is a firefox bug it might be an old apache bug that had been fixed. My coworker installed xampp 1.8.1 and the problems went away for him.
I'm sure if I upgrade like him it will go away. Weird that other browsers didn't have a problem with my setup.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: