Questions tagged [http]

HTTP stands for Hyper Text Transfer Protocol and is the protocol used to transfer information around the World Wide Web.

HTTP is just one communications protocol on the web. Others include:

  • Transmission Control Protocol (TCP)
  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)
  • Internet Message Access Protocol (IMAP)

HTTP on Wikipedia

2230 questions
35
votes
3 answers

How can I return a 503 status in apache without invoking external scripts

I need to return a 503 status code from one of my sites while it's down for maintenance, in the time-honoured SE_firendly fashion. I can't seem to work out how to do this without invoking external scripts, which I'd rather avoid. Is there an apache…
dan mackinlay
  • 453
  • 1
  • 4
  • 5
35
votes
2 answers

What is the mandatory information a HTTP Request Header must contain?

What is the mandatory information a HTTP Request Header must contain ?
Stephan Kristyn
  • 484
  • 1
  • 4
  • 7
33
votes
2 answers

Do HTTP reverse proxies typically enable HTTP Keep-Alive on the client side of the proxied connection and not on the server side?

HAProxy has the ability to enable HTTP keep-alive on the client side (client <-> HAProxy) but disable it on the server side (HAProxy <-> server). Some of our clients connect to our web service via satellite so the latency is ~600ms and I think that…
LostInComputer
  • 497
  • 1
  • 4
  • 10
33
votes
2 answers

What does `* Mark bundle as not supporting multiuse` mean in my curl trace?

When I do a curl -v to some docker container that I created, I get: * Mark bundle as not supporting multiuse What does it mean? Where is it documented?
Martijn Burger
  • 445
  • 1
  • 5
  • 9
31
votes
5 answers

How to dump entire HTTP requests with apache

Is it possible to dump entire HTTP requests by apache? I need to track all HTTP headers of incomming requests. How to do that?
Alex
  • 2,357
  • 5
  • 32
  • 41
31
votes
2 answers

Public key authentication or similar over HTTP/HTTPS?

Is it possible to configure Apache, or some other web server, to use some kind of public-key authentication? What I would like, ideally, is to be able to give users access to a site without the need for a username/password, provided that they have…
ezzatron
  • 415
  • 1
  • 4
  • 6
31
votes
4 answers

How DNS lookups work when using an HTTP proxy (or not) in IE

I recently participated in a discussion regarding what happens when a client requests a page from a proxy server. I just wanted to make sure that my understanding of this sequence of events was correct in the general case: User requests site A DNS…
orange_aurelius
  • 561
  • 1
  • 6
  • 6
31
votes
6 answers

Nginx proxy by Request Method

Is it possible/how can I configure an Nginx location block to proxy to different backends depending on the request method (ie. GET/POST)? The reason is, I am currently handling the 2 methods at 2 different URLs (one via http proxy and the other via…
Brenton Alker
  • 470
  • 1
  • 4
  • 7
31
votes
6 answers

Why are CentOS mirrors HTTP and not HTTPS?

As far as I know, HTTP is prone to man-in-the-middle attacks. As such, the repositories in Alpine Linux or the CentOS Mirrors are not HTTPS. In the olden days, having HTTPS used to be an expensive matter. It cost server CPU time and the certificates…
SydMK
  • 421
  • 4
  • 7
30
votes
1 answer

HTTP over port 443 vs HTTPS over port 80

What is the difference between http://serverfault.com:443 and https://serverfault.com:80 Which one is more secure theoretically?
mohsinulhaq
  • 403
  • 1
  • 4
  • 6
29
votes
2 answers

Can X-FORWARDED-FOR contain multiple IPs

Can X-FORWARDED-FOR contain multiple IP addresses? If so, why? An illustrative example would be great.
Hassan Baig
  • 2,325
  • 12
  • 29
  • 48
29
votes
4 answers

Can the IP address for an HTTP request be spoofed?

On a website I am building, I plan to log the IP addresses of submissions, just in case it's necessary. I don't mind proxies, but outright spoofing your IP address would defeat the purpose. To perform a complete GET action, (regardless of whether…
TND
  • 405
  • 1
  • 4
  • 4
29
votes
3 answers

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
SDReyes
  • 653
  • 2
  • 8
  • 15
28
votes
2 answers

What are the pros and cons of SSH and HTTP for a git server?

I want to setup a git server. I have found several how-to's, well detailed. Some describe the installation for a git-server accessible thru Ssh, while others, accessible thru HTTP. ( Others even advise tools like gitolite ). Are there pros or cons…
Stephane Rolland
  • 449
  • 2
  • 7
  • 14
27
votes
4 answers

Redirect all http requests behind Amazon ELB to https without using if

Currently I have an ELB serving both http://www.example.org and https://www.example.org. I would like to set it up so any request pointing to http://www.example.org is redirect to https://www.example.org. The ELB sends the https requests as http…
Jordan Reiter
  • 1,290
  • 4
  • 20
  • 40