The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
3answers
1k 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
7k 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 ...
6
votes
3answers
5k 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 ...
4
votes
3answers
2k 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?
4
votes
6answers
10k 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
485 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
387 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
5k 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
1answer
613 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
1answer
133 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
4answers
3k 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 ...
2
votes
3answers
774 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 ...
2
votes
6answers
275 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
3k 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
1answer
218 views

Error during connection to the mysql server [closed]

Hi I am trying to create a javascript application in Aptana Studio3 and have a WAMP server version2.1 as my local host. I am using Windows Vista OS. I am getting an error when i run my php script in ...
2
votes
4answers
978 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
342 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
342 views

What technologies allow bidirectional streaming of video?

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
1answer
740 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
166 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
222 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
9k 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 ...
1
vote
5answers
371 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
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 ...
1
vote
2answers
2k 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
92 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
1answer
967 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
2answers
211 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
1answer
78 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
974 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
1k 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
44 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
557 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
477 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
172 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
119 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
451 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
63 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
167 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 ...
0
votes
2answers
556 views

JS Worm : how to find the entry point

my site is tagged as dangerous by Google / StopBadware.org, and I found this in severals js/html files : <script type="text/javascript" ...
0
votes
2answers
575 views

Javascript works everywhere else, except new server

Server A: Windows Server 2008 R2, IIS 7, admin - me Server B: Windows Server 2008 R2, IIS 7, admin - company server admin group I have a Javascript file that works well on my local machine. The JS ...
0
votes
1answer
1k 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
2answers
2k views

Getting Classic ASP to work in .js files under IIS 7

I am moving a clients classic asp webapp to a new IIS7 based server. The site contains some .js files which have javascript but also classic asp in <% %> tags which contains a bunch of conditional ...
0
votes
1answer
275 views

RingoJS, Threading, Blocking, Load

What are the best practices regarding hosting a web application on RingoJS/Rhino? Seeing as it's single threaded, blocking calls such as long-running queries/file-uploads/web-services will mean that ...
0
votes
2answers
89 views

WordPress 2.7: Creating Links on Posts Fail And Are Replaced by Javascript BS

Trying to get a blog in order. I am currently running WordPress 2.7. I would like to upgrade to 3.0.1 but am having a problem. For some reason, if I add links in the post using the link button, the ...
0
votes
2answers
415 views

modrewrite for css / jss minified

I have a web site hosted in a CentOS 5-Plesk-Apache server. I have recently added a second site to the server for serve dynamic content. I have established rewrite rules for images (static content) ...
0
votes
3answers
2k 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 ...