All Questions
Tagged with javascript apache-2.2
24
questions
1
vote
0
answers
2k
views
Socket.io error "Failed to load resource: net::ERR_CONNECTION_REFUSED" in Azure linux server
When opening this web page I get the following errors in the debug console:
localhost:5005/socket.io/?EIO=3&transport=polling&t=NJKuQEf:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
...
0
votes
1
answer
99
views
What Prevents a Server Owned by a Non-Priviledged User to be Reached by Apache?
There is a popular Open Source application written in Javascript Node.js that listens to port localhost:1234 under my regular, non privileged account.
When connecting from localhost everything works ...
2
votes
2
answers
2k
views
Proxy website that uses javascript to change window.location?
Little bit of a newb when it comes to configuring httpd but here's my situation:
I'm trying to proxy an application (let's call it catsapp) that I have no control over with httpd.
catsapp, an html/...
0
votes
2
answers
162
views
Bypass Browser Cache with Server Settings in Large Production Environment
We recently applied a patch to our ERP system that updated HTML, JavaScript and CSS files. After applying the patch a large volume of users called the help desk to report loss of functionality on the ...
-1
votes
3
answers
432
views
Centos server provides javascript for localhost but not local lan [closed]
I have a centos 6 server running an asterisk, freepbx, and apache 2.2.25. On this server, the apache server serves up a webpage called fop2. I've talked to the developer, and he says the files are all ...
1
vote
1
answer
1k
views
<script> always pending on IE11 and CentOS Apache
Using Apache HTTPD 2.2.15 on CentOS 6.6
I have a simple client-side call elsewhere:
<script src="//txph.cfwebtools.com/CJT/index.js"></script>
while returns this code via this machine:
...
2
votes
0
answers
793
views
From Http to Https NodeJS Websockets on Apache Server
Here is my problem.
I have a virtual machine, on windows, the Apache server (2.4) is installed on it.
The vm is on the network, so that other people can reach it directly on http://192.168.100.22 (...
0
votes
1
answer
417
views
How can I accept responses from an API with multiple subdomains?
I write website prototypes that use data from a server I do not control, the response is in JSON and the server does not support JSONP, thus I have problems with CORS as I am developing in the client ...
1
vote
0
answers
2k
views
tcp connection reset [RST, ACK]
getting this errors looks like server is restating the connection because of some packet loss
any possible suggestion's to figure out this
37713 591.925575000 Sourceip==>>...
0
votes
1
answer
1k
views
Apache Tomcat + Apache2 + mod_proxy: Issues regarding cluster
I have a Tomcat 7.0.57 cluster setup behind an Apache2 using mod_proxy.
Setup:
Apache2: 192.168.2.139
Tomcat Node1: ajp://192.168.2.166:8010 (http connector also defined on port 8082)
Tomcat Node2: ...
2
votes
0
answers
1k
views
nginx proxy with CAS
I have a JS application that issues REST calls from the client browser to a data source that sits behind nginx.
We need to implement CAS authentication for the application to manage access. However ...
2
votes
2
answers
2k
views
After loading a certain number of javascript/css files, the files are taking too long to load
I have a problem where on page load (after a certain number of .js or .css files) the files are taking way too long to load. At first I thought that the issue must be inside the .js files, but later I ...
0
votes
0
answers
373
views
HTML5 media loading sometimes suspends or aborts: misconfigured Apache?
Recently, some code that has been working fine for months started to run unexpectedly. That code is just a media files loading JavaScript function, that uses jQuery. It's pretty long, but in essence ...
-1
votes
1
answer
169
views
Apache returning stale content of differing sizes when file changes
I'm seeing some strange cacheing behavior with (I suspect) Apache. Whenever I change this JavaScript file, what I get in the browser is simply an old version of the file truncated or expanded to match ...
1
vote
2
answers
6k
views
Javascript 404 not found, but PHP and CSS loading
I've got a Ubuntu 10.04.4 LTS cloud server running the default LAMP stack.
My website is serving my PHP pages, the images and CSS to go with them, and most of my JS is loading, but there is a ...
0
votes
1
answer
171
views
Rogue iframe injection in my javascript
I ran my website through Sucuri
http://sitecheck.sucuri.net/results/www.fort-aspenwood.com
They came up with these rogue iframes in my minified javascript
<style>.vpqfm { position:absolute; ...
0
votes
1
answer
78
views
What is the standard way of providing a servery busy lockout page when server is overloaded?
We have the need to lockout users from our service when its under load to avoid degraded user experience. We have implemented a very rough and ready version of this by detecting errors or timeouts on ...
1
vote
3
answers
6k
views
Jquery/Javascript not working when accessing webpage through system IP instead of localhost
I don't face this problem while working on localhost only when I access the page using the IP address of my system this happens and it only happens with IE (works on all other browsers).
By the way I'...
-2
votes
3
answers
851
views
Server hacked with javascript
eOHello.
I just got hacked! The hacker injected code into my website files on my server.
Server: Debian Lenny, Apache 2.2, PHP 5.2, MySQL 5
EDIT:
Apparently my question wasn't deemed good enhough ...
3
votes
3
answers
4k
views
Set MIME type of PHP generated JavaScript file
I have a dynamically created .js file by PHP. For this to work I added the following to an Apache .htaccess file:
AddHandler application/x-httpd-php .js
AddType application/javascript .js
But the ....
0
votes
1
answer
8k
views
How to set JS source directory in apache2?
I am trying to run a very basic webserver for development/debugging. The static HTML seems to be delivered correctly, but it seems that the JavaScript libraries are not being delivered to the browser. ...
0
votes
2
answers
242
views
Any load balancers using Chrome's JavaScript engine? [closed]
F5 has TCL which is horrific to program. A10 copied.
Are there any programmable load balancers out there that are looking forward? Node.js seems to have blazed the trail and proven it works and ...
3
votes
3
answers
5k
views
Apache: How can I serve JavaScript via PHP?
I want to serve my JavaScript files via a PHP script.
An example would be:
If I were to request a JavaScript file called dir/my_file.js
The server should redirect the request to a handler script ...
2
votes
4
answers
1k
views
How to avoid external Javascript problem hanging server?
I've been having a strange problem with externally linked Javascript libraries hanging my load balancer server running HAProxy. I recently integrated the Quantcast monitoring script, and it worked ...