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
14
votes
2 answers

Monit monitor http status with 404 page

I am trying to monitor HTTP status with 404 or 403 page. As you all know Monit takes those pages as failed connection, but how could I change that. I just want to monitor that it shows the 404 or 403 page. I need to check it with this config if its…
cr0c
  • 958
  • 4
  • 16
  • 35
14
votes
2 answers

Apache2 - 301 Redirect when missing "/" at the end of directory in the url

I haven't really noticed this Redirect(301) when requesting a url like this without slash("/") at the end: http://server/directory The server will respone with a 301 Redirect Permanent header with a Location header locating to…
Jonathan Gurebo
  • 235
  • 1
  • 2
  • 6
14
votes
1 answer

why isn't laravel's php artisan serve server being accessible from the WWW on IIS

I have a laravel application running through the laravel artisan server: php artisan serve and it works just fine if I go on my localhost:8000.. Further, I added an inbound rule in the IIS server like so: Control Panel -> Administrative Tools ->…
abbood
  • 1,127
  • 4
  • 13
  • 21
14
votes
5 answers

Force https entire site without redirecting http to https

There were a plenty of discussions while I was researching how to make my entire site https. The most answers were to redirect http to https (.htaccess file), which is not good, because it's not good to do the same job twice (two requests). Also,…
Marko Tamburic
  • 181
  • 1
  • 1
  • 10
14
votes
3 answers

nginx responding to unknown host names?

I have two domains that point to the same server, one we'll call home and one we'll call web. I'm running nginx on port 80 for HTTP and 443 for HTTPS. In my server definitions, I've defined two servers: server { listen 80; server_name web; …
Naftuli Kay
  • 1,708
  • 6
  • 24
  • 44
14
votes
2 answers

IIS logs show sc-win32-status=64 but only through some networks

I have an ASP.NET application running on a client server (W2k3, IIS6, .NET 2.0). FWIW, this is a Test instance, it hasn't been moved into Production yet. So it is not running under SSL, load balancing, etc. When I access one of the pages on their…
wweicker
  • 505
  • 2
  • 4
  • 13
14
votes
1 answer

Apache AB (ApacheBench) : -no-check-certificate option available?

It seems there is no option to avoid this error : "Verify return code: 20 (unable to get local issuer certificate)". Is there a way to avoid issuer ssl check with AB (like wget's -no-check-certificate option) Thanks in advance
hotips
  • 533
  • 4
  • 8
  • 19
14
votes
2 answers

Nginx proxy caching - how to check if it is working?

I have set up my nginx.conf file to use proxy caching from tutorials I have found online. Now I am trying to figure out how to check if it is actually working. I've read somewhere that adding add_header X-Cache-Status $upstream_cache_status; to the…
still.Learning
  • 143
  • 1
  • 1
  • 4
14
votes
2 answers

What happens when a HTTP request is terminated prematurely?

Suppose, I enter a URL in my browser and browser submits the HTTP request. The remote HTTP server accepts the request and initiates a long task to serve the request. If I terminate the request before it is complete (for example, press Esc or in…
Gowtham
  • 243
  • 1
  • 2
  • 5
14
votes
1 answer

HAProxy - forward to a different web server based on URI

I have an HTTP farm with the following configuration: listen webfarm 10.254.23.225:80 mode http balance roundrobin cookie SERVERID insert option httpclose option forwardfor option httpchk HEAD /check.txt…
grateful.dev
  • 378
  • 1
  • 2
  • 8
13
votes
2 answers

When nginx is configured as reverse proxy, can it rewrite the host header to the downstream server like Apache's ProxyPreserveHost?

I can't seem to find the equivalent of Apache's ProxyPreserveHost http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypreservehost option in nginx. This is required to reverse proxy to virtual hosts. What it does is replace the host name the…
Christopher Baus
13
votes
1 answer

What does http code 206 (partial content) really mean?

I'm building a page (using video.js, should it matter) that holds players for a reasonably large number of videos -- click a button on a thumbnail of the image and a modal player opens up, playing the video. Works fine; no big deal. My server is…
Jim Miller
  • 713
  • 2
  • 11
  • 23
13
votes
2 answers

Why can't I log in to a Windows-protected IIS 7.5 directory on the server?

I have a web site with an admin subdirectory that is protected by integrated Windows authentication. Works flawlessly from remote PCs. But when I attempt to access these pages on the server itself, I get an authorization failure. I'm using the…
user21146
  • 367
  • 1
  • 5
  • 19
13
votes
1 answer

HTTP header for indicating originating server behind load balancer

For debugging purposes, we would like to configure our pool of load balanced web servers to output an HTTP header identifying the "true" server which served the request. However, we don't know what header name this should be! Is there any…
Edward Z. Yang
  • 406
  • 3
  • 8
12
votes
0 answers

How much does FreeBSD accept_filter actually improve performance in a modern world?

I recently learned about FreeBSD's accept_filter socket option which can allow a worker process to avoid context switching by, for example, waiting until a full HTTP request is received with accf_http: This is a filter to be placed on a socket…
Josh
  • 9,190
  • 28
  • 80
  • 128