Closed
Bug 833425
Opened 12 years ago
Closed 12 years ago
windows 7 hostname issue
Categories
(Core :: Networking: DNS, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jeff.sadowski, Unassigned)
Details
Attachments
(2 files)
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.
Reporter | ||
Comment 1•12 years ago
|
||
jquery used in the other attached file to go in jquery subdirecty at root of apache server
Reporter | ||
Comment 2•12 years ago
|
||
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?
Reporter | ||
Comment 4•12 years ago
|
||
(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)
Comment 5•12 years ago
|
||
There is a ipv6 bug floating around that I wonder if could be relevant..
Reporter | ||
Comment 6•12 years ago
|
||
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.
Reporter | ||
Comment 7•12 years ago
|
||
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.
Description
•