Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [javascript]

JavaScript (not to be confused with Java) is a dynamic, weakly-typed language used for client-side as well as server-side scripting. Use this tag for questions regarding ECMAScript and its various dialects/implementations (excluding ActionScript and Google-Apps-Script). Unless another tag for a ...

1
vote
1answer
92 views

nginx connection refused while connecting to upstream

I have a server on which I've deployed an API (Sinatra). I run that API on port 9292 and proxy requests to it. I also need to deploy a static javascript file and its supporting resources. I do that ...
0
votes
0answers
20 views

Coovachilli JSON Interface with https

I am working on coovachilli hotspot project , the login page is in the url https://www.hotspot.com/login.php I have to use https because I am trying to make login by facebook after user make like ...
0
votes
1answer
17 views

how to point parts of a single url to 2 different servers using nginx

I have pointed a location /tanya to an address http://52.221.238.24/tanya;, I also want /tanya/t/ to point to the same IP. However, I need to point /tanya/dynamically_generated to point to another IP ...
0
votes
0answers
18 views

Server side security issues for a client-side only javascript application

I intend to publish a site for a javascript app. It is a simple app, all the things are done client-side, there is no need for the user to interact with the server, there will be no user user base and ...
0
votes
1answer
84 views

web page linked JS and CSS files download as Chinese characters

This is a weird one. I have devised a minimal web page http://localhost/Default.htm on a Windows 10 IIS server that demonstrates the error. <!DOCTYPE html> <html> <head> <...
0
votes
0answers
201 views

Long polling on an apache / PHP server

Short version: is apache + PHP a terrible idea for long polling, even though it technically works? If so, what's a good alternative while still using apache? Long version: I have a javascript/PHP ...
0
votes
0answers
296 views

Nextcloud & Pihole in one nginx instance

I have a working nginx webserver with Nextcloud running on my debian VM. My nginx configuration looks nearly like the configurationfile from this tutorial: Nextcloud Tutorial Now I want to install ...
0
votes
0answers
68 views

Unable to http.request, or ping EC2 server

I've built a test into my application which runs at start. Itc C#, and opens a HttpListener: var listener = new HttpListener(); listener.Prefixes.Add("http://+:80/"); listener.Start(); Writer....
0
votes
0answers
633 views

nginx reverse proxy Nodejs - 404 not found

I have a simple NodeJS application that needs to display a few webpages. I have the Node app running at http://localhost:3100 and want to use an NGINX Reverse Proxy to allow users access to the app ...
0
votes
0answers
76 views

Incomplete .js file is loaded in the browser

I have my .js file placed in the static folder. When I run my application in the local flask server, I don't get any js error in the console, And the application works fine. But now my application is ...
0
votes
2answers
95 views

Microsoft VBScript compilation error '800a0408'. IIS ASP Javascript serving error

I have a server with IIS 6.1 In a Windows Server 2008 which is serving an ASP web site, the page is running OK, and the javascript is being served correctly as you can see here. But in another ...
0
votes
0answers
2k views

How to Enable JavaScript for wget in linux for grabbing a website?

I use wget like this for save site : wget --page-requisites --no-parent --mirror http://example.com/index.html -P /home/ in Some cases It does NOT work, Error is : This site requires Javascript to ...
2
votes
2answers
85 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
0answers
122 views

How to programatically use SSH Tunnel to access Gluu LDAP from different server in enclave

I have a NodeJS application running on a different server from the Gluu server, but in the same enclave. I want to be able to access the Gluu LDAP programatically. Per this: https://support.gluu.org/...
0
votes
1answer
393 views

IIS 7.5 not able to server Javascript file, throws 500 error.

I have a site sitting on IIS 7.5. There are numerous JavaScript files that are being served from a scripts folder. Most of those files are served properly but there is one file that causes IIS to ...
0
votes
0answers
315 views

How to configure .htaccess to run JavaScript with node as CGI

I'm testing this on my linux localhost. This is what I'm trying: balter@spectre:/var/www/html$ cat .htaccess Action cgi-node "/usr/bin/env node" AddHandler cgi-node .js balter@spectre:/var/www/html$...
0
votes
2answers
30 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 ...
0
votes
1answer
234 views

Firewall get slow download some CSS and JS files

Our company website is hosted on our infrastructure and external user can access it OK. However, when I try to access from our intranet, some CSS and JS files always take exactly 2 minutes to ...
0
votes
0answers
1k views

Tomcat 8.5.15 not loading static resources

I have upgraded my local tomcat from version 8.0.36 to 8.5.15. I have a project that has static resources (css, js and vm) inside a project in an Eclipse workspace, linked in the pom profile ...
1
vote
1answer
964 views

Nginx - Even after adding the directive 'access control allow origin' the request logs error

I am trying to run nginx infront of my nodejs application (I am using windows machine) My NodeJS Application is running in 3000 port I have started the Nginx at 8070 port When i try to hit http://...
0
votes
1answer
645 views

Nginx Cache status Miss even after adding caching

I am new to caching on nginx. I have been trying to set caching on server but X-Cache-Status is giving a MISS even after adding configurations for css/js/and images. This is leading to high load time ...
0
votes
1answer
323 views

Nginx as cache: Location extension matching

I want to use a nginx container as proxy-cache. My goal is setting-up an CDN using docker swarm with N replicas of that container. Well, i have a html page that points at this URL: 172.17.0.1:9000/...
0
votes
2answers
748 views

JavaScript “AH01215: (8)Exec format error” “End of script output before headers” on Apache

Finally time to apply JavaScript to a particular web site, so I wrote some code that works fine in a test sub-directory, but when I went to deploy this to the web site I ran into problem(s). The ...
1
vote
1answer
72 views

MediaWiki foreground not rendering tabs in content section

We are having issues getting the foreground or foundation skins in MediaWiki to render any tabs in the content section of our pages. This site is a demo, hosted on GoDaddy, but we have also tried ...
0
votes
0answers
2k views

Optimization - Leveraging Browser cache not working for .js and .png files

I'm optimizing a website and I can't leverage browser caching for .js and .png files. My .htaccess looks like this: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html ...
0
votes
1answer
651 views

CSP nginx nonce

I have some problems with adding CSP to my site. I configured Content-Security-Policy-Report-Only in my nginx configuration. And i get this. adsbygoogle.js:37 [Report Only] Refused to apply inline ...
1
vote
2answers
158 views

Google Analytics code being added to every site on server

I have an Ubuntu server hosting several websites, some Wordpress some just plain HTML, but every single page has the exact same Google Analytics script on it when I view the source in a web browser. ...
0
votes
1answer
1k views

parse-server upload size limit , more than 100MB?

I am trying to upload a file to my parse server(using javascript sdk), but I need to make sure i can upload up to 500MB (for example). Is it possoible to be done in parse-server ? Can it be edited in ...
1
vote
0answers
123 views

Is there a non-invasive test of uPnP enabled network?

I'm trying to figure out if there is a way to do a non-invasive test on different networks to see if Universal Plug'n'Play (nPnP) is enabled at the router. i.e. Is Internet Gateway Device Profile ...
0
votes
1answer
113 views

Send pageview in Piwik

Sorry for this very basic question but I can't figure it out. On my website I'm moving from Google Analytics to Piwik. I got Piwik working however, I can't trigger a pageview. The main problem is ...
1
vote
1answer
39 views

JavaScript interpreters on older Debian installations (sarge)

I am goign to write a few scripts for managing tasks via command line on the servers. I will use the NodeJS Debian package in servers that support it, but I have a few servers still in Debian 3.1 (...
0
votes
1answer
5k views

NGINX - Cannot set Cache-control for redirected .js files (with alias + rewrite)

I have successfully setup an nginx server which uses both alias + rewrite as in the below configuration. Everything works except that javascript files are not enforced browser caching. Server url: ...
0
votes
0answers
129 views

Meteor JS issues on failover (Delay in reconnection)

Our meteor deployment contains two meteor nodes, behind a network load balancer (Google cloud NLB which simply passes on requests to a target pool of 2 Ubuntu 14.04 meteor instances). Each node has a ...
1
vote
1answer
108 views

multiple redirects on lighhttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> ...
0
votes
1answer
129 views

How to filter JS:ScriptIP-INF (TRJ) in BBClone Webstatistic

I`m using the webstatistic bbclone on my server. In the last month my virus scanner sometimes blocks the details page. it displays the detection of JS:ScriptIP-INF (TRJ) on my bblone. But I ...
1
vote
1answer
809 views

IIS: requesting PNG returns 401

I am attempting to create a web application, and I am testing it on my desktop using IIS. My problem comes whenever I attempt to request a PNG image. The server responds with a 401 specifically for ...
1
vote
0answers
29 views

Web encryption on uncontrolled LAN

I have a situation in which I wish to produce (physical hardware) widgets that plug into a LAN and act as a web server, serving content to web clients that are also on the LAN. The traffic from the ...
3
votes
0answers
227 views

Query string parameters get shuffled

We're observing some strange behavior of the data send to our systems from a javascript since 9/9/2015. The problem shows up when the query string is send to our servers. Some values of the ...
-1
votes
3answers
275 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 ...
0
votes
0answers
494 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 ...
2
votes
1answer
686 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
1answer
619 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
62 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
2answers
2k 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
2k 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
432 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
679 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
197 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
2answers
3k 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
1k 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==>>...