M
murrayatuptowngallery
I'm caught in a classic finger-pointing situation.
My hosting company's server appears to be automatically inserting JS
tags into a JS-free html page that has an image inked to a 2nd page
with JS.
The problem may well be that I am calling JS incorrectly. My host co.
insists my ''web publishing software' is doing this. I can prove it
isn't by deleting the offending code with an impotent text editor like
Notepad, upload it with a WS_FTP and view it's contents. The code
insertion occurs when the JS-containing page is accessed from the
'front' page.
I am going to experiment with accessing the JS page directly so there
is no linking 'calling' page to dump it's trash into.
excerpt from an index.html page in my public_html directory:
<html>
<head>
<meta name="GENERATOR" content="">
<meta name="Keywords" content="gallery, Holland, Michigan, framing,
watercolor, acrylic, oil paintings, photography,Tanis, Vanderhill">
<meta name="Description" content="Fine art gallery & custom
picture framing.">
<meta name="revisit-after" content="7 days">
<title>uptowngallery.org/index.html</title>
<script language='javascript'
src='http://127.0.0.1:1025/js.cgi?pcaw&r=19629'></script>
</head>
<body>
....more html in the middle...
end of the '1st' page has a second line inserted (sometimes multiple
appearances of this)
after the closing body & html tags
</body>
</html>
<script language='javascript'>postamble();</script>
So, I have a 2-3 questions:
1) Any idea how/why a server can access someone's page and why it would
list 127 addresses in there. I read IANA & RFFC3330 references but that
only indicates it's a self-identification IP address that should not
appear anywhere on any network. Obviously it goes somewhere in the path
from a user back to one's self. But WHO is the 127 being
referenced...me or the host server?
2) Is there a problem with linking from an html page called index.html
to another also called index.html but another tree level lower (another
subdirectory)? Should a page containing JS be called .js instead of
..html?
www.uptowngallery.org/index.html is the calling page in the
(transparent) directory public_html.
There is one large image in this page that calls
www.uptowngallery.org/Tanis/index.html .
This page contains JS. Accessing this page thru the 'parent' index page
causes the JS loopback & postamble mess. I only become aware of it
because some browsers 'choke' on it (hang halfway without loading the
page) and once it's there my html editor gives a script error upon
opening the 'corrupted' page.
------
I just looked and now see the same
<script language='javascript'
src='http://127.0.0.1:1027/js.cgi?pcaw&r=31322'></script>
inserted into the Tanis/index.html JS page now. This is a new
development. That page already had a JS identifier, so it looks like
the inserted code is a self-contained script. It has start and finish
script tags.
The Tanis directory also has index1.html, index2.html and index3.html.
They appear to be called my the index.html page in the same directory
but they work fine with JS and a .html extension, nor do they have the
'mystery' code lines.
If I understood this, I could either fix my code 'grammar' or yell
louder at my hosting company.
The script was generated by ImageWalker.
Thanks
Murray
My hosting company's server appears to be automatically inserting JS
tags into a JS-free html page that has an image inked to a 2nd page
with JS.
The problem may well be that I am calling JS incorrectly. My host co.
insists my ''web publishing software' is doing this. I can prove it
isn't by deleting the offending code with an impotent text editor like
Notepad, upload it with a WS_FTP and view it's contents. The code
insertion occurs when the JS-containing page is accessed from the
'front' page.
I am going to experiment with accessing the JS page directly so there
is no linking 'calling' page to dump it's trash into.
excerpt from an index.html page in my public_html directory:
<html>
<head>
<meta name="GENERATOR" content="">
<meta name="Keywords" content="gallery, Holland, Michigan, framing,
watercolor, acrylic, oil paintings, photography,Tanis, Vanderhill">
<meta name="Description" content="Fine art gallery & custom
picture framing.">
<meta name="revisit-after" content="7 days">
<title>uptowngallery.org/index.html</title>
<script language='javascript'
src='http://127.0.0.1:1025/js.cgi?pcaw&r=19629'></script>
</head>
<body>
....more html in the middle...
end of the '1st' page has a second line inserted (sometimes multiple
appearances of this)
after the closing body & html tags
</body>
</html>
<script language='javascript'>postamble();</script>
So, I have a 2-3 questions:
1) Any idea how/why a server can access someone's page and why it would
list 127 addresses in there. I read IANA & RFFC3330 references but that
only indicates it's a self-identification IP address that should not
appear anywhere on any network. Obviously it goes somewhere in the path
from a user back to one's self. But WHO is the 127 being
referenced...me or the host server?
2) Is there a problem with linking from an html page called index.html
to another also called index.html but another tree level lower (another
subdirectory)? Should a page containing JS be called .js instead of
..html?
www.uptowngallery.org/index.html is the calling page in the
(transparent) directory public_html.
There is one large image in this page that calls
www.uptowngallery.org/Tanis/index.html .
This page contains JS. Accessing this page thru the 'parent' index page
causes the JS loopback & postamble mess. I only become aware of it
because some browsers 'choke' on it (hang halfway without loading the
page) and once it's there my html editor gives a script error upon
opening the 'corrupted' page.
------
I just looked and now see the same
<script language='javascript'
src='http://127.0.0.1:1027/js.cgi?pcaw&r=31322'></script>
inserted into the Tanis/index.html JS page now. This is a new
development. That page already had a JS identifier, so it looks like
the inserted code is a self-contained script. It has start and finish
script tags.
The Tanis directory also has index1.html, index2.html and index3.html.
They appear to be called my the index.html page in the same directory
but they work fine with JS and a .html extension, nor do they have the
'mystery' code lines.
If I understood this, I could either fix my code 'grammar' or yell
louder at my hosting company.
The script was generated by ImageWalker.
Thanks
Murray