Question
June 6, 2008 at 01:38 PM
razz2

Javascript Server Specific Firewall Issue

by razz2 . Updated 18 years, 1 month ago

I have been asked to research a javascript issues that appears to be
server specific. There are 2 sites in this issue.

The scenario is that a client has a web site (Site A) with flash content.
Part of that content display is done through the use of .js file includes
from the .php pages such as . This
site is theirs, hosted on SBC, and displays fine in their building behind
a Watchguard firewall. PHP Version is 4.4.8 on a FreeBSD Apache.

They are designing a similar site (Site B) for a Non-Profit group they
belong too. It too has Flash content and is implemented with virtually
identical code and .js files. It is hosted at a separate, 3rd party,
hosting company. However the Watchguard blocks the Flash display as
unsafe content application/javascript. PHP Version is 5.2.4 and
Apache is Linux.

Any of the 2 sites uploaded to the SBC server work, and any of the 2
uploaded to the 3rd party host fail. If the .js extension is removed
from the include files and their references in the .php files when the
site is on host B it works fine.

So, the question is what config setting on Apache or in php.ini would
cause the same code to be seen differently by the same firewall? And,
would be affected by removing the .js extension?

Thanks for the time in advance,

razz

This discussion is locked

All Comments