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
0
votes
1 answer

nginx error handler always shows HTTP 200

I'm trying to implement a custom nginx error page in PHP, but it seems that my error handler will always show 200, rather than the status that was actually generated (e.g. 404 if I were to type an invalid link). Here's my error_page…
emberdex
  • 111
  • 2
0
votes
0 answers

Reverse proxy to force UTF8 requests upstream

I'm trying to debug a problem to a web application that I didn't write and that I cannot alter, that seems to have serious encoding problems whenever it receives requests not in UTF8. Now, to prove that this in fact is the problem (and to mitigate…
Matteo Italia
  • 385
  • 3
  • 15
0
votes
1 answer

Bots/crawlers adding numbers to GET parameters

I've got some errors showing up in my site logs where some bots are trying to access URLs with strange GET params. # normal url example.com?foo=123456 # odd url triggering integer error by bots example.com?foo=1234562121121121212.1 I've got the…
Pete
  • 293
  • 1
  • 5
  • 20
0
votes
3 answers

HTTP to HTTPS redirect even for IP

I have already read many question on basic http -> https redirection, but it all talks about the redirect/rewrite including only domain name. ServerName www.example.com Redirect / https://www.example.com/ For eg this above…
user2700022
  • 121
  • 1
  • 4
0
votes
1 answer

automatic dedicated access_log for each client using ip in naming

We have an internal app and I want to have the apache httpd server create new log files based on each of the client ips. In the documentation I see you can have multiple logs. http://httpd.apache.org/docs/2.2/logs.html LogFormat "%h %l %u %t \"%r\"…
jbrahy
  • 168
  • 10
0
votes
1 answer

cannot access site hosted at nginx in windows server using public ip, but able to access using private ip?

I created a site in Windows Azure Virtual Machine, nginx is running in VM at port 80. im able to access the site using localhost and private ip address 10.0.0.4:80. but when i try to access using public ip 13.x.x.x im not able to see my website. I…
Karthikeyan
  • 103
  • 1
  • 5
0
votes
1 answer

Apache2 : redirect subfolder to https (http://example.com/sub -> https://example.com/sub)

I'm setting up an Apache2 server on Ubuntu 16.04. I use a self-signed certificate because I want my nextcloud instance to be available only with https. For now, I use a permanent redirection…
mxdsp
  • 101
  • 3
0
votes
1 answer

Gap in Waterfall Loadtime test

When I test my wordpress websites with GTmetrix oder other Loadtime Testing tools I notice a gap in the Waterfall graph where no action is taking place. It looks like the time this gap is lost which leads to higher loading times. Is this the…
0
votes
1 answer

Creating uptime monitor - Identifying network bottleneck

So I'm working on a website uptime monitor that should check thousands of websites per minute by doing a simple http call to them and checking the received status code. I've tested it using multiple processes of a node.js implementation to ensure…
Ahmed-Anas
  • 101
  • 1
0
votes
1 answer

Making Varnish expire a cached GET response on a POST request

I'm researching caching layers for my application stack and seriously considering Varnish. Varnish sounds great, but most of my data is not only dynamic, it also requires authentication to access, and is unique to individual users. Based on what…
ineedhelp
  • 115
  • 5
0
votes
0 answers

Enable support for HTTP methods in an Apache HTTP Server

I am sending a PUT request using curl and getting a 405 Method Not Allowed status code. I commented out the directive in httpd.conf file but still seeing this error. CURL request sending by me curl -w…
metadata
  • 121
  • 5
0
votes
1 answer

Can the Domino HTTP task serve content from another Domino server?

Is there any way or trick to open some database resource that resides on ServerB by sending the request to the HTTP task running on ServerA? Of course, both servers are in the same org, and have proper access rights...
Sam Sirry
  • 189
  • 10
0
votes
0 answers

How to make redirects with HTTP Redirect smarter?

What I mean by smarter is that they only work if the website's root is hit. So http://example.com will redirect to https://example.com but http://example.com/Contact won't redirect at all to https. Is there a way to get the redirect to work even if…
Ortund
  • 127
  • 7
0
votes
0 answers

How to prevent ERR_CONNECTION_REFUSED errors following restart of Apache

I am running Apache 2.2.15. I have installed a Comodo SSL Cert. I have the virtual host directives shown in the code snippet at the bottom of this post. When I restart Apache via apachectl restart I get no syntax errors associated with my…
H. Ferrence
  • 533
  • 3
  • 10
  • 18
0
votes
1 answer

Block POST PUT and DELETE but allow GET from specific referrer

I'm using nginx and I want to block post, put and delete requests when they come from an unknown referrer. Meaning, I have the referrer: ".example.com" and from this referrer I want to allow all GET, PUT and POST (yeah, I know thats easy to fake the…
João Pereira
  • 39
  • 3
  • 7