The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
3answers
9k views

How do I configure Nginx proxy_pass Node.js HTTP server via UNIX socket?

I am trying to configure a Nginx server to connect to a Node.js HTTP server via a UNIX domain socket. The Nginx configuration file: server { listen 80; location / { proxy_pass ...
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 ...
7
votes
3answers
5k views

Is there any javascript ssh client?

I mean pure javascript client that uses HTML5 sockets and doesn't need to be installed, just open single js file in browser. Is it possible to write such client at all?
6
votes
3answers
6k views

Is Node.js mature for enterprise security?

Our development team has been considering using Node.js for a new enterprise application that requires high-level security. The users include federal police, so there's a high chance that we'll ...
5
votes
4answers
5k views

Is it secure to encrypt my POST variables to md5 before sending them?

I have a simple login form where a user enters their username and password. When php receives the vars via POST, it encrypts the password to md5, then compares it with the database records. My ...
5
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 ...
3
votes
2answers
572 views

The Java/1.4.1_04 user agent clashes (404) with some jQuery / Javascript

Since I put up a new javascript file on my server a few days ago I've been getting strange 404's logs. It seems that some Java user-agent clashes with some part of the jQuery (1.6.2). I send an ...
3
votes
4answers
394 views

Has my site been attacked?

This is about an online store based on Drupal 5. All of a sudden it didn't work anymore. Upon accessing the site, this error came up: Parse error: syntax error, unexpected '<' in ...
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 ...
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
1answer
792 views

CNAME to get around same-origin policy?

I'm embedding an application via iframe into a someones site and need to be able to call a few of their javascript functions. Clearly running a top.cart.add() gets blocked by the same-origin policy. ...
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 ...
2
votes
2answers
3k views

Is there a workaround for using the Virtual Server 2005 Administration Website with Internet Explorer 8?

Since upgrading to Internet Explorer 8 I've been getting JavaScript errors when performing certain functions (like "Turn On") on the Virtual Server 2005 Enterprise R2 SP1 Administration Website: ...
2
votes
3answers
13k views

IE8 script error 800704a6?

We have a user who suddenly started getting the following error when trying to open some web apps using window.open from within an embedded web browser in our software The script uses javascript's ...
2
votes
6answers
279 views

What's the common cause for trojan downloaders on linux servers?

On several of the webservers i'm responsible for there's a javascript virus, a trojan downloader according to the antivirus i'm using. It's a minified javascript that's on the bottom of every page ...
2
votes
3answers
4k views

JavaScript and CSS fail to load in some browsers over SSL

I have a website on which we have recently enabled SSL. In most browsers, this works fine: our scripts and stylesheets are imported using HTTPS and most browsers load pages successfully. However, in ...
2
votes
2answers
444 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 ...
2
votes
4answers
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 ...
2
votes
0answers
255 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
0answers
491 views

Logon script does not run for all users

We have a standalone common-use workstation running Windows XP Pro SP3 and have created a script using Javascript (scriptname.js) that is to be run for each user. The file was added as a user logon ...
2
votes
1answer
763 views

node.js ./configure warnings

I'm trying to install node.js and I get this list of warnings when I run ./configer. I don't know which libraries/packages I miss on my Debian installation (Linux 2.6.32.6 ppc GNU/Linux on a Bubba2 ...
1
vote
4answers
168 views

Did i install this Google analytics code correctly?

All, I'm not sure what I'm doing wrong. I installed the code at the bottom of each page before the body tag but after 3 or 4 days the GA webpage is giving me no response ( just the yellow triangle) ...
1
vote
5answers
239 views

how is it possible that a hacker could have inserted a piece of javascript code at the bottom of several of my pages

Somehow some javascript code got appended to the bottom of several of my index pages on my site. I know it's a trojan or iframe attack. However, I am wondering how is it even possible that someone ...
1
vote
2answers
2k views

Got a malware on my hosting provider which infect JavaScript files .. how do I find the entry point?

This morning some sites which are hosted on the server as me started triggering malware alerts and started to redirect traffic to external sites. I've found out that a line of packed javascript was ...
1
vote
3answers
3k views

proxy script does not work when two networking cards are connected. How to fix this?

I have deployed a wpad.dat. Works like a charm except for some users that are connected to two networks at the same time (ethernet and another networkadapter that emulates an analog modem for fax). I ...
1
vote
5answers
451 views

Hide javascript folder on server

I've noticed on some sites, when I go to eg. www.example.com/js where there javascript is stored, it is forbidden. On my website currently, if users browse to www.mysite.com/js they will see all of ...
1
vote
2answers
442 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 ...
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 ...
1
vote
1answer
107 views

Can a scraping bot have JavaScript enabled?

I've got a few thousand request that seem to be coming from a client with JavaScript enabled and I'm wondering if that client could be a bot.
1
vote
2answers
345 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 ...
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
vote
1answer
85 views

Weird entries in access logs

2-5 times per day my web server gets the same number of requests, and the same requests, but appears to have no impact on.. anything. The requests are here http://pastebin.com/3J6FUNr9 It looks ...
1
vote
2answers
1k views

Windows XP and IE8 javascript won't work even though Enable Active Scripting is enabled

I have a Windows XP machine on our LAN, origianlly running IE7 and now IE8, javascript won't work even though Enable Active Scripting is enabled. I've disabled the Anti-Virus with no luck. Other PCs ...
1
vote
3answers
2k views

Getting live traffic/visitor analytics when using a reverse proxy

I'm in process of implementing Varnish as a reverse proxy for a Ruby on Rails app and I'm using Google Analytics (JS/client side script to record visitor data) but it's several hours delayed so its ...
1
vote
0answers
40 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" ...
1
vote
0answers
73 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 ...
1
vote
1answer
285 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: ...
1
vote
0answers
384 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 ...
1
vote
0answers
30 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 ...
1
vote
0answers
140 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 ...
1
vote
0answers
153 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!
1
vote
1answer
760 views

IIS 7.5 Not Compressing Javascript: NO_MATCHING_CONTENT_TYPE

I have IIS 7.5 set to compress all static files (the default), yet it does not compress .js (javascript) files. When I turn on failed request tracing for compression, the error I get for the ...
1
vote
1answer
542 views

Recommendation using Client side performance monitoring (boomerang/jiffy/episodes)

There are a few Client-side JavaScript libraries that check web-site performance on the client side: Jiffy (http://code.google.com/p/jiffy-web/) Episodes (http://stevesouders.com/episodes/) by Steve ...
1
vote
2answers
176 views

Load and performance testing for webapps with JavaScript support

Years ago I used OpenSTA to perform load and performance tests for web applications. I remember that it offered great recording possibilities which enabled us to quickly create new test scripts. ...
0
votes
2answers
122 views

Why doesn't my server render my website properly? [closed]

I want to know what could be wrong with my server? I have uploaded the exact same website files to both a public and private server and it doesn't display the same way on both of them. The files have ...
0
votes
2answers
499 views

Does anyone know a good free SHA1 hash generator?

Does anyone know a good free SHA1 hash generator? I am trying to has some info on the client side before post it back. I need a free SHA1 hash generator. Thanks
0
votes
1answer
64 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 ...
0
votes
1answer
1k views

How can I build Node.js using static libssl and crypto libraries?

[Update] A solution has been found: https://github.com/robhawkes/node-extension/issues/1 I'm embedding Node within a browser extension and don't want the user to manually install openssl or even know ...
0
votes
3answers
177 views

Using IIS7 Logs to determine how many users have JavaScript disabled?

I know that I can get OS and\or browser settings types from the IIS logs, but is there a way to also see if a user has JavaScript disabled? I am looking for a to determine how many of our users are ...