Server Dropping Code?

  • Thread starter Thread starter JW
  • Start date Start date
J

JW

Help, please. I've got what should be a simple problem but I'm completely
lost. I used FP to build a client a simple one-page website. No bells and
whistles, and just a little javascript to encrypt an email address. I ran it
on a commercial hosting account for awhile with no problems at all. The
client has now moved their email to an in-house server and would like to do
the same with their parked page. Their IT guy has no web experience and I
have no server operation experience.

We were able to get the page running on their server with public access, but
something is stripping away batches of html code. The web page on the new
server is available at http://www.islandcpa.com/. It is also still available
on the hosted server at http://74.54.78.66/~cpawhit/ Several differences
occurred:

1) meta tags and <title> were stripped out of the <head></head> portion
2) src="mcintyre2.jpg" is also stripped out of the image tag within the body
of the web page
3) All of the javascript code used to encrypt the email address was stripped
out

We've deleted and installed the html file several times, with the same
results. BTW, don't know if it matters, but we're working from two different
locations. I'm emailing files to their IT. If anyone can help or explain
what's happening, I would appreciate your help.

Thanks,
JW
 
1) Missing meta tags - I can't explain, never seen or heard of this
before.

2) src="mcintyre2.jpg" is present and image shows.

3) Javascript : Check optimisation settings. The Javascript is
enclosed in an HTML comment. If optimisation is set to remove comments,
the JavaScript will go. If you (or the IT department) also have "remove
empty tags" set, then the script tags will follow the javascript.
Optimisation is definitely set to remove leading whitespace, though this
setting is harmless.


The image may disappear if Symantec or McAffee security is being used -
these programs tend to remove images of a certain name and/or size to
"protect from ads" - but this should affect both sites if you are
viewing both sites on the same PC, unless there is a server version at
play.
 
Ron -

Thanks for the feedback. IT guy found a server security setting last evening
that was deleting the image source, and was able to restore it. I appreciate
your feedback regarding optimisation settings. I passed it along this am.
 
Back
Top