Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [http]

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

0
votes
1answer
31 views

Forward messages encrypted

I have an rsyslog server at front and need to forward certain facilities to a remote server. I created a template for transport as HTTP body: template(name="syslogforward" type="list") { constant(...
0
votes
0answers
31 views

HTTP 500 Error on Node.JS Deployment on Web App

The deployment status is successful , but the site always show HTTP 500 error. I look at the request diagnostic and get the information HTTP 500 substatus code 1000 Error Code 1028. I can't find the ...
-3
votes
0answers
53 views

Do the request lines of HTTP messages now all or mostly use full URLs or path components of URLs? [on hold]

HTTP The Definitive Guide (2002) says: The missing host information was an oversight in the original HTTP specification, which mistakenly assumed that each web server would host exactly one web ...
-1
votes
1answer
91 views

Where is “the URL in a HTTP request message”? [duplicate]

HTTP: The Definitive Guide says An origin server that isn’t virtually hosted, and doesn’t allow resources to differ by the requested host, may ignore the Host header field value. But any origin ...
0
votes
1answer
43 views

What is “the URL” that restricts the Host header?

The following quote from HTTP The Definite Guide assumes "the URL" comes from somewhere and uses it to restrict the Host header. Where does "the URL" come from? Is it from the first line of a HTTP ...
-3
votes
0answers
27 views

What I Need To Create a Parental Control and Web Filtering Desktop Application? [closed]

I need assets or tips on how to filter my LAN clients Get Requests through the web, so that when they request for instance: http://example.com/ my application will redirect the client to http://127.0....
0
votes
1answer
29 views

Varnish: Is it possible to not cache only one specific part of the page?

Let's say I have page at example.com/location - now I want the content of that URL to be cached, except only one specific HTML-part of the page, which should be updated regularly. This HTML-area ...
0
votes
0answers
11 views

Lighttpd: Expose files in a directory only through chosen URL pattern

Background I have a web page X, which I would like to serve through only through URLs matching /X/${UUID}, where UUID is a random UUID which I give to a person. I have come up with a solution which ...
1
vote
1answer
10 views

Tomcat returning 400 error to some hosts

I recently upgraded from Tomcat 8.0 to 8.5 Since the upgrade, hosts from other subnets get a 400 response to requests, but on the same subnet the application runs without errors (!) 127.0.0.1 - - [...
1
vote
0answers
26 views

How to configure squid-cache for this Payload?

I've got a problem with Squid-cache config and this payload connecting with HTTP Injector: CONNECT [host_port][split][lf]PUT /? HTTP/1.1[lf]Host: subdomain.host.com[lf] The problem is that when I ...
0
votes
0answers
28 views

Forward proxy with squid or anything else

i have a server with few thousands of IPv6s i want to create a forward proxy server with it which do the following: port forwarding (X.X.X.25:PORT -> IPV6 outgoing traffic) basic username/password ...
0
votes
1answer
23 views

nginx reverse proxy getting HTTP CONNECT commands

I have created a ghost VPS on DigitalOcean which has nginx running as a reverse proxy fronting ghost installation. While tailing access logs I saw numerous CONNECT commands and GET/POST as well to ...
0
votes
0answers
14 views

OpenVPN - How to redirect all http requests?

I have an OpenVPN server on which I'd like to redirect all HTTP requests to a certain web server. In other words, if one client tries to access (for example. Google.com) they should be redirected to ...
0
votes
1answer
32 views

Nginx - disable POST data caching

I noticed that when someone sends big file to Apache website proxied by Nginx, disk usage on Nginx machine goes up. It's especially noticeable when someone uploads file that is big comparing to disk ...
0
votes
0answers
25 views

How Does curl over HTTP Know Where to Respond

This might sound like a silly question that is probably just part of the HTTP protocol, but might be important to debugging an issue I'm having. We have some PHP code that uses the php-curl functions ...
-1
votes
1answer
30 views

Is there any security issue when I set `apache` as the only owner of websites files and folders? [duplicate]

My server is centos 7,with php 5.4,apache 2.4. My website locate in /var/www. As for apache is the only one user read or write in /var/www,I set all files and folders owner and group to apache: ...
1
vote
2answers
30 views

Exchange 2016 Fresh Install HTTP ERROR 500

After doing a new install of Exchange 2016 on Windows Server 2016 I go to https://ex1/ecp, attempt to log in and get: This page isn’t working ex1 is currently unable to handle this request. HTTP ...
1
vote
2answers
106 views

nginx proxy_cache and If-None-Match

I have a simple nginx configuration for the /info location. location /info { uwsgi_read_timeout 20s; uwsgi_send_timeout 20s; uwsgi_pass unix:///tmp/uwsgi.sock; include uwsgi_params; } ...
1
vote
1answer
31 views

Encrypting LAN http traffic

I have two droplets at digitalocean. Both servers are LEMP, however one is completely blocked (http & https) with a firewall. I want to make HTTP requests between the two servers, however there is ...
0
votes
1answer
72 views

NGINX Wordpress REST API not working with allow/deny in location block

I'm trying to restrict access to a WordPress REST API with NGINX (it's the main backend server {} block, no proxy): location ~ ^/wp-json/ { allow x.x.x.x; deny all; } The problem is, that ...
1
vote
0answers
19 views

Redirect browser http request to local server

I have now the following flow. example.com => https://example-example.mycompany.com => myproxy => someServer I am right now developing myproxy and it changes the answers that the clients of ...
0
votes
1answer
19 views

Deny certain GET request starting with “?rest_route=” with NGINX

Is there any possibility to deny/block requests where the specific GET variable ?rest_route= is appended to the URL? I tried the following, but it's not working: # location ~ ^/?rest_route { # ...
1
vote
1answer
65 views

HTTP/2: speed vs. security

As a measure for speeding up of webpage loading times i recommended to switch over from HTTP1.1 to HTTP/2 protocol. And just today, firtsly in my experience since HTTP/2 rising, i've heard as the ...
-1
votes
1answer
38 views

My AWS EC2 VM is not receiving HTTP from an external browser to the elastic IP of my EC2 instance

Problem Can't browse my web app on my new AWS EC2 VM. Wireshark on VM, shows a little HTTP activity, but nothing when I browse my URL or its elastic IP from an external browser (at my home office). ...
0
votes
0answers
16 views

pipe http through server

At my company we have some kind of knowledge-db/"software for spreading info"/timereporting software, which is only available in the local network. At this moment I am stationed at one of our ...
0
votes
1answer
30 views

HTTP requests hang in otherwise working VLAN setup

I have 2 kvm virtualised servers. Each has a internet-facing ens3 and a ens6 interface for a VLAN bet ween the hosts. I'm running Ubuntu 18.04. I have configured the interfaces via netplan. network: ...
0
votes
0answers
14 views

How to Redirect https://domain to https://www.domain via .htaccess [duplicate]

I have done a website in codeigniter framework. https://www.aloma.in/ . Now website start listing in google. When clicks on links froom google search results. The site can't be reached. Because URl in ...
0
votes
0answers
29 views

Site redirected to malicious website [duplicate]

First I like to thank this community as I used its help before but its my first post. I have a very strange problem with my website which is hosted by my own server in the location I rented in a data ...
1
vote
2answers
52 views

Nginx shuts down every 3 months because of the same failed binding error

I am running a Symfony website on a server, using Nginx configured with Let's Encrypt. Everything goes fine when I start the server (always with sudo service nginx start / restart) But every 3 months,...
1
vote
1answer
67 views

Can I safely redirect all incoming HTTP traffic when new files are being uploaded via FTP?

Our website is receiving an update very soon, we've already updated all the PHP, HTML & CSS files so pretty much we just now need to upload the new files to the web server via FTP. Being that the ...
0
votes
2answers
512 views

Nginx Create subdomains dynamically using URL path

I am trying to rewrite/redirect to specific subdomains if the url request path matches some pattern. I would like to do something like this if i get a request like "https://example.com/users/john/...
0
votes
0answers
34 views

How to capture HTTP responses with Excel file attachments?

I have an enterprise web application that allows users to download excel files generated dynamically by this application. We'd like to capture these excel files downloaded in order to get them ...
1
vote
0answers
142 views

IIS responds with “401 Unauthorized” without waiting for request's body

I noticed that our IIS 8.5 returns "401 Unauthorized" response to non-authenticated HTTP request right after receiving its headers, without waiting for the body: the client: POST /some/protected/...
0
votes
0answers
57 views

Nginx SSL configuration for multiple domains on the same IP

I'm serving multiple domains from the same IP. I enabled SSL for one of them (ssobczak.net) and now I'm getting redirected instead of reaching it. I'm getting redirected to another one: beta....
1
vote
2answers
45 views

Port 80 on Web Server Security

Currently I'm running a web server, The server itself is using both HTTP "Port 80" and HTTPS "Port 443". I purchased an SSL certificate and installed it to the issue is the manufacturer of the ...
0
votes
2answers
140 views

https --> http lightweight proxy

I'm new to web servers and need some advice. I've wrote simple HTTP server based on served over RedHat 7.2. Sadly, served as far as I understand does not support HTTPS. In order to keep in line ...
0
votes
1answer
30 views

NGINX: Cannot config nginx to handle redirect from HTTP to HTTPS redirect not working

I have try to config nginx: /etc/nginx/nginx.conf server { listen 80 default_server; listen [::]:80 default_server; server_name 10.0.0.10; #This is my private IP return 301 https://$...
10
votes
2answers
2k views

How to serve different robots.txt for http and https on same site?

I got a small site which served by Apache (I can't put Nginx in front nor change Apache to anything), and it is set up to serve the same site both over http and https (no redirects http->https is ...
1
vote
1answer
49 views

Traffic drop after HTTPS Magento

we have a Magento store, that we switched to https. Now 2 weeks after, we got a drop about 30%... What could be the cause? I followed every step that was recommended. I requested a reindex via search ...
0
votes
0answers
63 views

How to prevent Azure application gateway v2 buffering

I have a service deployed in Azure behind an Application Gateway - standard v2 sku. One of the endpoints exposed by this service returns a streaming http response containing progress updates for a ...
2
votes
1answer
204 views

IIS and HttpListener (.NET) with windows authentication

I have a question about Windows authentication with IIS and HttpListener I have the following setup (All installed in same Windows 8.1 box. No outside communication). All requests are sent as http://...
0
votes
0answers
29 views

How to Nginx upstream on single server with additional IP addresses added to NIC?

I am having a single dedicated server (static IP) with two additional IP addresses added. When I run SSH with command: cat /etc/network/interfaces I got this result: auto lo iface lo inet loopback ...
9
votes
4answers
2k views

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....
0
votes
0answers
34 views

Why are some users forced to https and others are not?

We have intranet websites in an enterprise environment. About a month ago, we started receiving emails from users who were unable to reach pages on a specific server. There are hundreds of users for ...
0
votes
0answers
21 views

heroku - how to log all http traffic?

I'm trying to diagnose an issue with a Django app running on a Heroku dyno. I want to be able to inspect all http requests and responses, both incoming and outgoing. I want to do this at the system ...
8
votes
0answers
83 views

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:...
0
votes
1answer
14 views

What are the split latency measurements produced by httping?

I've been using httping to monitor the performance of my load balancer. The httping utility accepts a -S argument which is briefly described in the man page: -S Split measured latency in time ...
1
vote
1answer
237 views

Connection refused for Java HTTP Server running on localhost

How would you investigate the following issue? On a specific server; any HTTP-Requests sent to a Java Server running on localhost fails with "Connection refused". (See the Java code here) In the ...
2
votes
1answer
154 views

haproxy does not add headers conditionally

I have the following config, it's under the frontend section for tls connection and haproxy terminates https connections: acl domain-acl-host hdr(host) -i domain.tld rspadd X-Foo:\ bar if domain-acl-...
1
vote
0answers
151 views

Squid as transparent proxy to tunnel all connections under Windows

There's this app Joplin that can't connect to the internet on a corporate machine which lives on Active Directory and connects to the internet through HTTP and a NTLM proxy. The problem is that you ...