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
26
votes
3 answers

Can subdomain.example.com set a cookie that can be read by example.com?

I simply cannot believe this is quite so hard to determine. Even having read the RFCs, it's not clear to me if a server at subdomain.example.com can set a cookie that can be read by example.com. subdomain.example.com can set a cookie whose Domain…
Evan Plaice
  • 480
  • 1
  • 5
  • 12
25
votes
3 answers

netsh.exe: Error 87

I'm having some trouble creating a urlacl reservation in Windows Server 2008; probably this a rookie mistake. The command line I'm using is: netsh http add urlacl url=http://+:99898/ user=ben The error that I see is: Url reservation add failed,…
Ben
  • 353
  • 1
  • 3
  • 7
24
votes
3 answers

CentOS 7 Firewall Configuration

In CentOS 6 I could type setup from the command line and I would be presented with a set of tools, one of them being Firewall configuration. I can still do this in CentOS 7, except the list no longer includes Firewall configuration as an…
ste
  • 381
  • 1
  • 3
  • 8
24
votes
2 answers

What is the difference between using upstream and location for php-fpm?

I've been searching around but couldn't find a straight answer, if someone could please clarify this, would be greatly appreciated, thanks! location ~ \.php$ { try_files $uri = 404; fastcgi_pass unix:/run/php-fpm/php-fpm.sock; …
Van Nguyen
  • 588
  • 3
  • 6
  • 15
24
votes
2 answers

How to test keep-alive is working on client end

What are some different ways/tools to verify that keep-alive is working on the server from the client's end?
Ron Garrity
  • 393
  • 1
  • 3
  • 5
24
votes
8 answers

Dynamically blocking excessive HTTP bandwidth use?

We were a little surprised to see this on our Cacti graphs for June 4 web traffic: We ran Log Parser on our IIS logs and it turns out this was a perfect storm of Yahoo and Google bots indexing us.. in that 3 hour period, we saw 287k hits from 3…
Jeff Atwood
  • 13,104
  • 20
  • 75
  • 92
23
votes
9 answers

Handling http and https requests using a single port with nginx

i was wondering if nginx is able to handle http and https requests on the same port. [*] This is what i'm trying to do. I'm running a web server (lighttpd) handling http requests, and a C program that serves a particular section of the document…
alemartini
  • 1,043
  • 1
  • 6
  • 14
23
votes
4 answers

Change protocol associated with port in wireshark

I'm trying to monitor some web traffic using wireshark. Our web proxy is on port 9191. How can I get the wireshark view to treat port 9191 just like port 80 - ie as HTTP. Just using Decode_As on the menu seems to allow half the conversation but only…
Nick Fortescue
  • 375
  • 1
  • 2
  • 7
22
votes
3 answers

How does the HTTP GET method work in relation to DNS protocol?

I am trying to understand application layer protocols in TCP/IP stack. I know that both HTTP and DNS protocol stay at the top layer (Application Layer). So, when a browser wants to access a resource, it has to send a request to the HTTP server, as…
Giancarlo Perlo
  • 253
  • 1
  • 2
  • 3
22
votes
2 answers

nginx send blank 200 responses

I'm configuring a failover server tasked to accept any incoming request, and reply with blank 200 response. The idea is to minimize the reply time and to ensure we dont send any 40x or 50x. I tried using return 200; for the desired locations within…
Sparsh Gupta
  • 1,127
  • 7
  • 21
  • 31
21
votes
5 answers

My DNS record can only point to an IP address. How do I make it reach for a port?

I am fairly new to network administration and therefore am already excited to have successfully set up a DNS record. Now I am a bit confused, because I would like to have this URL: http://www.example.org:8080/fetch/characters/ be actually reached…
xetra11
  • 331
  • 1
  • 2
  • 10
20
votes
3 answers

How to set up port forwarding on Amazon EC2

I have a web application running on Amazon EC2. It listens on port 9898. I can access it by entering the ip address and port number. e.g 1.2.3.4:9898 However, what I'd really like to be able to do is to not have to enter the port…
ksl
  • 325
  • 1
  • 3
  • 11
19
votes
3 answers

nginx: dump HTTP requests for debugging

Ubuntu 10.04.2 nginx 0.7.65 I see some weird HTTP requests coming to my nginx server. To better understand what is going on, I want to dump whole HTTP request data for such queries. (I.e. dump all request headers and body somewhere I can read…
Alexander Gladysh
  • 2,423
  • 8
  • 31
  • 49
18
votes
2 answers

Redirect all requests to HTTPS, except for one subdirectory

I'm trying to move from self-signed certificates to Let's Encrypt certificates on my nginx webserver. Currently, I redirect all requests to http/80 to https/443, which uses a self signed certificate I created a while ago. Now - from what I…
SaAtomic
  • 329
  • 1
  • 2
  • 10
18
votes
1 answer

Is the hostname part of HTTP(S) URLs truly case-insensitive?

Is it safe to use http(s)://CompanyName.com/xyz as URL (e.g. for branding purposes) without any changes to the service-side configs? I know that DNS is case-insensitive, but could there still be side-effects? I am thinking of e.g. various parts of…
Nils Toedtmann
  • 3,342
  • 5
  • 26
  • 36