The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
8 views

dns SRV lookup with sip.js

I am trying to use sip.js to make video calls using WebRTC. Our video engineer told me that we need to perform a dns srv lookup before connecting. Here is what I have: var uri = new ...
0
votes
3answers
38 views

Centos server provides javascript for localhost but not local lan

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 ...
0
votes
0answers
19 views

safe way to parse and display email content in webpage

i have a small website i made which pulls in an email from a directory on the server and displays it. Now it displays all the images, text and html. And javascript. Does anyone know what i should and ...
0
votes
0answers
21 views

Squid GET request returns incorrect content type when using transparent mode

I'm trying to establish the cause of a strange issue with mobile device that goes through a Squid 3.3 proxy on CentOS 7 using transparent mode which is not able to access news content within the Bing ...
1
vote
0answers
57 views

GZip compression not working on Tomcat7

I recently tried using gzip compression to improve web UI performance. I configured Tomcat Connector as below. compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" ...
0
votes
0answers
179 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 ...
0
votes
1answer
57 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: ...
-1
votes
2answers
40 views

My server request needs to be converted from Http to Https

My application performs some HR related functions. When the user hits "apply leave" button, at the back-end it validates against employer credentials. If everything is fine then code is written that ...
0
votes
1answer
42 views

Why would a portion of a website work outside my LAN, and not inside it?

So we have a website at work that no one inside the work LAN can use. Our customers can use it. I can use it if my phone is on LTE. I can't use it on WiFi, through an ethernet connection at work, or ...
0
votes
1answer
104 views

How to execute server-side JavaScript via Alfresco Share?

I want to execute some server-side JavaScript (to manipulate repository nodes). I have admin access via Alfresco Share, but I have no Alfresco Explorer nor SSH access. The best would be a kind of ...
0
votes
1answer
122 views

Can't run server-side Javascript on Classic ASP

I'm trying to run a server side piece of JavaScript code on my ASP site. The whole site is using VBScript, but this piece is written in JavaScript, so I'm using a separate tag, rather than setting ...
2
votes
0answers
94 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
1answer
15 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 ...
0
votes
0answers
97 views

How to handle HTTP basic authentication on Chrome by Jasmine JS scripts?

Can anyone please help me to solve my problem with an "HTTP basic authentication prompt" in Chrome? I can't access the authentication for our staging environment with the regular method ...
1
vote
0answers
166 views

How to start pm2 without autosave logs

I start my nodejs app with pm2, all works, but it save expensive logs. I don't know how to start without save logs, i want to save only error logs. Thanks!
0
votes
0answers
19 views

“javascript” word inside url request gives back forbidden [duplicate]

subdomain.example..org/javascript/something/ gives 403 Forbidden. If I rename the javascript directory to anything else, like js, it works! I'm using the latest Apache 2 and Ubuntu Server. Does ...
1
vote
1answer
362 views

Mime type received as “text/html”, server configured to send as “text/javascript”

Both firefox and chrome are showing that javascript files from my server are served as MIME type text/html. The javascript files have a .js extension. First, mime_module is installed and active: ...
2
votes
0answers
278 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 ...
1
vote
0answers
409 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 ...
0
votes
1answer
19 views

Heroku redirect file to serve from CDN

My Heroku backed app is now serving a certain JS file, but due to high rpms I would like to serve it from my CDN. Is it possible to make a redirect from myapp.herokuapp.com/file.js to ...
1
vote
0answers
32 views

Trying to inject javascript to every page [duplicate]

Hie. I'm working on a JS library that makes changes to dom elements and I would like to be able to show people it's effect in my site. I'm trying to setup some sort of proxy similar to a transparent ...
0
votes
0answers
59 views

Wildlfy 8 - REST count incomming requests per second

quick question: I am performing a performance test on my Wildlfy 8 Installation. Te report should contain, how many requests per second are actually handled by the server (request received and ...
1
vote
0answers
158 views

Can't go to route using nginx and Express.JS

So I have express.js set up behind nginx and when I go to website.com/users, I get a 404. But when I go to website.com, the page loads fine. This appears to be all other routes too, I can't get to ...
0
votes
1answer
260 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: ...
0
votes
0answers
84 views

AWS Cloud Front with S3, serving static files- Redirects implemented via java script at browser level

We have our Java application on tomcat server webpages- the application fetch content from multiple services and Database to create page and respond. We are checking for a best method to improve the ...
8
votes
3answers
4k views

What criteria to choose a server to run nodejs?

What criteria would I use to choose a server to run NodeJS? It seems like shared-hosting is a nonstarter since it's so new. Given how it works, what would I be looking at in terms of a production ...
2
votes
2answers
453 views

What technologies allow bidirectional streaming of video? [closed]

Wikipedia says that Flash allows "bidirectional streaming of audio and video". Is it possible to do that with other technologies (for example with JavaScript)? In other words, I want to transfer ...
0
votes
1answer
91 views

Nginx redirection to url writen in requested file

I need to setup dynamic redirections. For example, a user open a link : http://www.example.com/2/3/4/ and see the page on the following address: http://www.example2.pl/something. I know about ...
0
votes
1answer
806 views

Cross domain javascript form filling, reverse proxy

I need a javascript form filler that can bypass the 'same origin policy' most modern browsers implement. I made a script that opens the desired website/form in a new browser. With the handler, ...
1
vote
2answers
367 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
1answer
66 views

Overriding a JS file from server from proxy

I have an Apache reverse-proxy server set up between a client machine and a server. What I want to achieve is to override a javascript file sent from the server with the one from the proxy before ...
0
votes
0answers
125 views

How to approach SSL encryption with file uploads

I added SSL to a site I'm putting together, and it caused a huge error that I have no idea how to approach. The user logs into the site, which allows them to upload files to the server into a ...
0
votes
1answer
176 views

Apache [negotiation:error] while opening javascript file

I have javascript file with name circle.terminals.cmd.var.js and apache return 500 error with: [Sun Jun 15 15:00:55.194900 2014] [negotiation:error] [pid 20095] [client 127.0.0.1:50879] AH00681: ...
1
vote
2answers
456 views

Deploying N amount of meteor apps on a single server

I'm trying to (sort of) mimic the server setup of the official Meteor deploy infrastructure (the *.meteor.com subdomain deployments). If it's only a handful of known meteor apps, I can just run the ...
0
votes
1answer
388 views

Wildcard Domain with Google Analytics

Each user on our website has their own subdomain (e.g. bob.example.com, elephant.example.com) and they get paid for the traffic that they send to this subdomain. How can I wire up Google Analytics so ...
3
votes
2answers
6k views

HTTP gzip compression not working for css or javascript in tomcat 6

Connector settings: <Connector ... compression="2048" noCompressionUserAgents="gozilla, traviata" compressionMimeType="text/html,text/xml,text/plain,text/css,text/javascript"/> This seems to ...
1
vote
1answer
3k views

New Relic JavaScript

I have a problem, I was logged in at New Relic, but didn't install anything. After that, my Chrome suddenly adds a weird JavaScript snippet to my localhost only, on AMPPS. How to get rid of this, as ...
-1
votes
1answer
69 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 ...
-3
votes
1answer
92 views

Replace of cron job/cron tabs— Windows Scheduler [closed]

I want to know that there is any way to create an script on windows machine in PHP that should run after an interval, let's say every after 15 minutes. Currently I'm doing it using javaScript, but ...
0
votes
0answers
557 views

Internaly hosted alternative to cloudbased nobackend solution like Firebase

In an environment where I can't use a cloud based service like Firebase, I'm looking for recommendation for an internally hosted nobackend solution. I could use node or meteor but really am just ...
3
votes
3answers
1k 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 ...
3
votes
3answers
2k 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 ...
3
votes
1answer
147 views

How to push changes from Test server to Live server? [closed]

As a beginner I have come to the stage where I realize the problem with taking down my production server to make changes as often as I have, now that I have a couple of users on it. I created an EC2 ...
0
votes
1answer
662 views

deploying meteor on my own domain (ubuntu)

I want to deploy my meteor app on my Ubuntu server, I used meteor.sh and everything went successfully, But i simply can't launch my app from the browser I'm putting my ip address and getting a 404 ...
0
votes
1answer
2k 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
1answer
83 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
1answer
98 views

nginx not starting with multiple nodejs apps

i have this config in sites-enabled/default upstream domainone.com.ar { server 127.0.0.1:9000; } server { listen 80; server_name www.domainone.com.ar; rewrite ^/(.*) http://domainone.com.ar/$1 ...
1
vote
2answers
3k 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 ...
6
votes
6answers
12k views

Javascript Errors only on Production Server?

I am in the process of releasing a couple of asp.net websites from development to production. Everything seems to be working fine in development, but upon the release to production we get a number of ...
-4
votes
2answers
609 views

Check a list of passwords strength [closed]

Is there any way to check a list of passwords whether they strong or not? I have a list of passwords, around 2000, and want to check them against this policy Password must contain a minimum of ...