Questions tagged [http-server]

28 questions
7
votes
2 answers

What is the proper HTTP status for "too many connections?"

I am working on an HTTP server which is supposed to only allow a certain amount of connections per user. How do I gracefully tell the user that more than n connections are not permitted. I tried answering the n+1th request with a 403 but apparently…
niklasfi
  • 439
  • 8
  • 15
6
votes
3 answers

Enable HTTPS on a private network

My company is creating presentation software. When in use, presenters sign on through an HTTPS-enabled web site to send text, documents, authentication tokens, etc. How do I enable HTTPS communication when: There is only a dynamic internal IPv4…
Trevy Burgess
  • 161
  • 1
  • 1
  • 4
5
votes
1 answer

How does a typical http(s) load balancer work?

I know that there are some situations that we encounter heavy http(s) load on a server and we should use a load balancer to distribute load among several back-end servers. But I've a confusion here! Lets suppose that too many users (lets say…
Ehsan Khodarahmi
  • 285
  • 1
  • 7
  • 17
3
votes
2 answers

What is the difference between a proxy server and a gateway server?

From Proxy server on Wikipedia: A proxy server may reside on the user's local computer, or at any point between the user's computer and destination servers on the Internet. A proxy server that passes unmodified requests and responses is usually…
Tim
  • 1,467
  • 3
  • 25
  • 38
3
votes
0 answers

Reverse proxy with login for redirecting different users to different applications

Im trying to configure the topology you can see in this picture: My question is, having a unique login server acting as a reverse proxy, is it posible to redirect the users to their respective server application? This way they will be using the…
3
votes
1 answer

Apache in front of Glassfish: mod_jk on https(443)

After the recommendation of using Apache http server in front of glassfish ( check question ), i used the following tutorial and made it work but only on port 80. What i mean is now i can type: www.mydomain.com and it runs. However if i run an…
ccot
  • 181
  • 2
  • 11
2
votes
2 answers

Why does my Apache access log timestamp sometimes go backwards?

I noticed that in my Apache log (actually Oracle's branded HTTP Server, which is really Apache) the timestamp of the lines sometimes goes down, instead of up. Here is an example: 1.2.3.4 - - [16/Dec/2014:**13:22:46** +1100] "POST…
brendan
  • 225
  • 3
  • 8
2
votes
2 answers

lighttpd server not serving images, js or css files

I am given a try to lighttpd. I configured a server with the instructions I found here. Below my configuration file: server.document-root = "" server.port = 4000 server.username = "www" server.groupname =…
Sergio
  • 171
  • 1
  • 8
2
votes
3 answers

Setting up a purely Node.js http server on port 80

I'm using a fresh install of Centos 5.5. I have Node installed and working (I'm just using Node -- no apache, or nginx.), but I cannot figure out how to make a simple server on port 80. Node is running and is listening to port 80. I'm just using the…
Luke Burns
  • 155
  • 1
  • 1
  • 8
2
votes
1 answer

Simple HTTP server for folders

Every once in a while when I'm debugging some web app, it would be useful for me to be able to serve a folder via a lightweight HTTP server. Something along the lines of cd folder httpserve -p 5000 in order to serve that folder over port 5000. Is…
wxs
  • 185
  • 1
  • 6
1
vote
1 answer

How did Alibaba find my server and ping my node instence that I just made?

So I just created a new droplet on DigitalOcean and did a http-server in the root directory. 5 minutes later I see this in the logs: GET http://47.99.121.32:39169/Ip/Up?Ip=[my server ip]&Port=8080&Check=89&Order=58.218.213.44 Researching a bit, I…
1
vote
1 answer

Are there any tipping points when compressing contents of web server responses might not be the right choice?

I'm running an API Proxy server and want to compress the (uncompressed) response contents I get from the API endpoints in order to send them faster to the client that initiated the request. However, I'm wondering if there are any tipping points when…
user348339
1
vote
1 answer

Lightweight http server for OSX and Linux?

I would like to install a lightweight http server that can be configured as simply as going to the directory where I want to start a site, executing a simple command to tell it in which port, and that can easily be shutdown afterwards. In short,…
Sergio
  • 171
  • 1
  • 8
0
votes
2 answers

Access windows 7 guest http port from linux host with virtualbox (using redmine and rails)

I've just installed redmine on a Windows 7 Enterprise SP1 running on VirtualBox 5.2.12 r122571 I disabled windows firewall. The host and the guest can ping each other. I start redmine using webrick: bundle exec rails server webrick -e…
opensas
  • 1,111
  • 1
  • 7
  • 7
0
votes
2 answers

Reverse Proxy on ClientHello with bad security (e.g. WinXP)

XP seems to be a lot of "fun", these days with security especially since the security features XP DOES support are being phased out day by day. for all those who want to drop XP there is always the problem that the people wont be able to access the…
My1
  • 113
  • 5
1
2