Questions tagged [webserver]

A software application that services requests from clients using the Hypertext Transfer Protocol.

7703 questions
1830
votes
21 answers

What's the difference between a proxy server and a reverse proxy server?

What is the difference between a proxy server and a reverse proxy server?
Vicky
1172
votes
33 answers

Using node.js as a simple web server

I want to run a very simple HTTP server. Every GET request to example.com should get index.html served to it but as a regular HTML page (i.e., same experience as when you read normal web pages). Using the code below, I can read the content of…
idophir
  • 13,229
  • 5
  • 22
  • 20
808
votes
28 answers

What is the difference between application server and web server?

What is the difference between application server and web server?
TwiggedToday
  • 9,025
  • 7
  • 22
  • 16
655
votes
8 answers

Difference between the Apache HTTP Server and Apache Tomcat?

What is the difference in terms of functionality between the Apache HTTP Server and Apache Tomcat? I know that Tomcat is written in Java and the HTTP Server is in C, but other than that I do not really know how they are distinguished. Do they have…
kaybenleroll
  • 15,996
  • 16
  • 51
  • 66
416
votes
19 answers

Deploy a project using Git push

Is it possible to deploy a website using git push? I have a hunch it has something to do with using git hooks to perform a git reset --hard on the server side, but how would I go about accomplishing this?
Kyle Cronin
  • 72,761
  • 40
  • 144
  • 160
373
votes
10 answers

How to create an HTTPS server in Node.js?

Given an SSL key and certificate, how does one create an HTTPS service?
murvinlai
  • 43,517
  • 50
  • 120
  • 169
258
votes
15 answers

ssl_error_rx_record_too_long and Apache SSL

I've got a customer trying to access one of my sites, and they keep getting this error > ssl_error_rx_record_too_long They're getting this error on all browsers, all platforms. I can't reproduce the problem at all. My server and myself are located…
Subimage
  • 4,109
  • 3
  • 22
  • 18
227
votes
2 answers

What is the difference between HTTP 1.1 and HTTP 2.0?

HTTP/1.1 has served the Web well for more than fifteen years, but its age is starting to show. Can anybody explain what is the main difference between HTTP 1.1 and 2.0? Is there any change in the transport protocol?
user1968030
224
votes
4 answers

Configure nginx with multiple locations with different root folders on subdomain

I'm looking to serve the root url of a subdomain and directory of a subdomain to two different folders on my server. Here is the simple set-up that I have and is not working... server { index index.html index.htm; server_name…
simoes
  • 4,297
  • 4
  • 21
  • 25
212
votes
8 answers

Best lightweight web server (only static content) for Windows

I got application server running in Windows – IIS6.0 with Zend Server to execute PHP. I am looking for lightweight static content only web server on this same machine which will relive IIS form handling static content and increase performance. It…
bensiu
  • 20,820
  • 48
  • 65
  • 104
188
votes
12 answers

How to automatically redirect HTTP to HTTPS on Apache servers?

Environment Centos with apache Trying to setup automatic redirection from http to https From manage.mydomain.com --- To ---> https://manage.mydomain.com I have tried adding the following to my httpd.conf but it didn't work RewriteEngine on …
Deano
  • 9,220
  • 13
  • 51
  • 99
181
votes
4 answers

When to use Tornado, when to use Twisted / Cyclone / GEvent / other

Which of these frameworks / libraries would be the best choise for building modern multiuser web application? I would love to have an asynchronous webserver which will allow me to scale easly. What solution will give the best performance /…
Wojciech Danilo
  • 10,776
  • 13
  • 60
  • 118
175
votes
13 answers

Can't get rid of header X-Powered-By:Express

I am running a server on nodejs with express. I can't seem to get rid of the header: X-Powered-By:Express I was wondering if there is any way to get rid of this header or do I have to live with it?
tyronegcarter
  • 3,736
  • 4
  • 19
  • 23
172
votes
3 answers

Tomcat VS Jetty

I'm wondering about the downsides of each servers in respect to a production environment. Did anyone have big problems with one of the features? Performance, etc. I also quickly took a look at the new Glassfish, does it match up the simple servlet…
Loki
  • 26,620
  • 9
  • 46
  • 62
144
votes
14 answers

Minimal web server using netcat

I'm trying to set up a minimal web server using netcat (nc). When the browser calls up localhost:1500, for instance, it should show the result of a function (date in the example below, but eventually it'll be a python or c program that yields some…
andwagon
  • 1,541
  • 2
  • 10
  • 4
1
2 3
99 100