A software application that services requests from clients using the Hypertext Transfer Protocol.
Questions tagged [webserver]
8218 questions
38
votes
3 answers
Nginx - wordpress in a subdirectory, what data should be passed?
I've tried so many different things. The point I'm at right now is this:
location ^~ /wordpress {
alias /var/www/example.com/wordpress;
index index.php index.html index.htm;
try_files $uri $uri/ /wordpress/index.php;
location ~…

Matthew
- 15,282
- 27
- 88
- 123
37
votes
4 answers
Python 3: Does http.server support ipv6?
Does http.server (http being a Python 3.x module) support ipv6? For instance, using this command-line code (which starts a webserver):
python -m http.server [port]

Brōtsyorfuzthrāx
- 4,387
- 4
- 34
- 56
37
votes
7 answers
Python server "Only one usage of each socket address is normally permitted"
I'm trying to create a very basic server in python that listens in on a port, creates a TCP connection when a client tries to connect, receives data, sends something back, then listens again (and repeats the process indefinitely). This is what I…

scaevity
- 3,991
- 13
- 39
- 54
35
votes
2 answers
Node.JS built in cluster or PM2 clustering?
Which one is better?
I have activated Nodejs clustering mode with workers but now I discovered PM2 that does the same thing.
I'm using keymetrics to see the stats from my webserver and I have noticed that when I launch my NodeJS node (with a built…

llf
- 483
- 1
- 4
- 9
35
votes
1 answer
Limit on the length of the data that a webserver can return in response to a GET request
I have a REST service running on jetty server that responds to GET requests with some resource data. So far the data that i retrieve has been in the order of a few kb. I am looking to use a similar REST service that could possibly return huge data,…

techuser soma
- 4,766
- 5
- 23
- 43
35
votes
6 answers
What web server to use for Lua web development
What web server (and why) should I use for Lua web development?
TimH
34
votes
4 answers
Security in Node.JS Webserver
So, I'm in the middle of learning my way around Node.JS, and so far I'm loving it. I've got a couple projects already at work that I think I can utilize nodejs in.
I'm worried, though, about security. If I write a custom webserver using Node.JS's…

jwegner
- 7,043
- 8
- 34
- 56
34
votes
8 answers
curl and ping - how to check whether a website is either up or down?
I want to check whether a website is up or down at a particular instance using PHP. I came to know that curl will fetch the contents of the file but I don't want to read the content of the website. I just want to check the status of the website. Is…

brainless
- 5,698
- 16
- 59
- 82
34
votes
1 answer
How do I POST form data with UTF-8 encoding by using curl?
I would like to POST (send) some form data to a webserver using cURL on a terminal-prompt.
This is what I got so far:
curl --data-ascii "content=derinhält&date=asdf" http://myserverurl.com/api/v1/somemethod
The problem is that the umlaute ("äöü")…

ashiaka
- 3,994
- 8
- 32
- 45
34
votes
2 answers
How to run my node.js project on android?
I have a working php server on my android tablet, so I hope it's available somehow to run nodejs also. The source code is available on github, and it can be build on linux also, but I can't really understand, how to build it.
Thanks in advance,

Danny Fox
- 38,659
- 28
- 68
- 94
33
votes
7 answers
lightweight http server C++
I need to build a lightweight http server for my application
basically it's a server which listen to a port and outputs a status information on requests
no high load, https, other functionality is required
is there any C++ library which would help…

Andrei Lopatenko
- 331
- 1
- 3
- 5
33
votes
2 answers
How to serve other vhosts next to Gitlab Omnibus server? [Full step-by-step solution]
I installed Gitlab CE on a dedicated Ubuntu 14.04 server edition with Omnibus package.
Now I would want to install three other virtual hosts next to gitlab.
Two are node.js web applications launched by a non-root user running on two distinct ports…

Rémi Becheras
- 14,902
- 14
- 51
- 81
33
votes
8 answers
How do you scale HTTP server like Google?
I often marvel at how I can go to www.google.com, from anywhere in the world at any time, and get the returned page so fast.
Sure, they compress their output and keep to a minimal design - that helps.
But they must have millions of simultaneous hits…

Roark Fan
- 672
- 8
- 9
32
votes
3 answers
what is event driven web server
I want to understand basics of Event Driven web server, I know one of them is Tornado, but any other information is much appreciated.
Thanks

Anonymous
- 1,287
- 6
- 20
- 21
32
votes
15 answers
XAMPP Object not found error
I have just installed XAMPP on my machine, and when trying to access sub folders in htdocs I get the following error.
Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and…

crayden
- 2,130
- 6
- 36
- 65