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

learn more… | top users | synonyms

0
votes
1answer
16 views

Creating a RFC 1123 compliant date for HTTP header creation on the CLI

I'm trying to create a HTTP 1/1 compliant date header using standard unix date(1) in order to post this to a RESTful server using curl or similar. Any ideas what format to pass to date(1) to get this ...
0
votes
1answer
8 views

Using awstats to monitor/graph visitors on a server that only serves images?

I have an apache webserver that serves up images. Lots of machine generated images (i.e. not static files). It doesn't serve any serious amount of html etc. files. A user might request many images one ...
1
vote
1answer
19 views

xinetd read post data

I'm trying to write a simple handler for a webhook using xinetd and bash. I have the trivial case working with this config for xinetd: service github-hooks { port = 61000 ...
1
vote
1answer
23 views

How is Cache-Control: max-age affected by intermediate caching?

I am currently serving an HTML page to users with a Cache-Control: max-age=600 header. I believe this allows the users' browsers to cache the page for a maximum of 10 minutes. I am considering adding ...
3
votes
2answers
94 views

How can I configure IIS on Azure to stream chunked data from a Node.js app?

I have a Node.js app that uses Transfer-Encoding: Chunked to stream data over HTTP continuously until the client disconnects. When running a local instance of Node, it works fine, but when deployed to ...
-3
votes
1answer
32 views

Serve 200 without reading the request

I have a system where Server receives large files from clients Files are unused and deleted immediately Clients cannot be updated to stop sending files There are a known number of clients (required ...
-4
votes
0answers
33 views

Unable to open www.debian.org

I have a problem with a Debian virtual machine that cannot reach the debian website. The virtual machine have a public ip address directly assigned on the eth0 interface. HTTP/1.0 root@web1:~# curl ...
1
vote
1answer
15 views

IIS 7 WCF Webservices giving 404 error over HTTPS

I have some WCF webservices running under IIS 7.5 which are responding correctly to http requests but respond with 404 (Not Found) errors when methods are called using SSL. The binds for the site are ...
2
votes
1answer
28 views

Is it possible to redirect VPN traffic by Apache

There is a web server in my lab with Apache. Only 80 port is opened. I can install software on it. Is it possible to install some VPN tools and redirect the VPN traffic by Apache? In another words, ...
0
votes
0answers
13 views

Proxy video from GCS through nginx to prevent CORS problems

I have videos hosted on Google Cloud Storage. Since I have some trouble with CORS on iOS I want to proxy my hosted videos through nginx. The idea is that a client requests https://foo.bar/abc.mp4 and ...
0
votes
0answers
7 views

Jetty : server is getting redirected to 302 instead of HTTP 500

We are doing a service call running on Jetty which has a expected behavior to fail with HTTP response=500 and gives a redirection url in the response location ( header ). In the subsequent call, ...
1
vote
0answers
18 views

Loading Flash Content while opening an Image link

The following image is hosted at puu.sh (http://puu.sh/k0Hki.jpg), apparently it loads a swf with a .jpg extension in the url. The following is what chrome/firefox shows as the source (while using ...
1
vote
1answer
42 views

Nginx Https issue http automatically redirected to https

I have a config file and have a site up and running. But there is an issue if we go to the non-SSL page then also it redirects back to https. I have a site in Magento and it has base URL as ...
0
votes
0answers
4 views

How to prevent malicious injection in argument to php “exec” (webhook -> bash script) [migrated]

I've written a webhook to integrate into chat (slack / mattermost api). The simplest way to get it up and running was a quick php script, which looks like this: <?php $token = $_POST["token"]; ...
0
votes
0answers
28 views

Can access server via SSH/FTP but other protocols won't work

I followed this guide to setup an "Upside-Down Ternet." Everything was fine up until the part where I configured IPTABLES then I lost SSH connection. Now I expected that because I'm messing with ...
0
votes
1answer
26 views

Nginx serving index.html fine, but requests for assets are bad

i have the following nginx config: server { listen 80; listen [::]:80; listen 443; listen [::]:443; server_name oreqizer.com; ...
4
votes
1answer
54 views

Understanding Chart from Google SRE Book

While reading Site Reliability Engineering, I read the following: I don't understand how to read this chart. As I understand the purple region represents the 50th percentile (half of all traffic). ...
0
votes
1answer
48 views

Apache refuses HTTP CONNECT over SSL on non default virtual host

I have an apache 2.4.18 server running with multiple vhosts. /etc/apache2/sites-enabled/000-default.conf: <VirtualHost *:80> DocumentRoot /var/www/html Redirect 400 / ...
0
votes
0answers
39 views

Unable to get Nginx/Apache + FastCGI + PHP-FPM + HTTP/1.0 to use Keep-Alive

For a reason beyond my control (an app that cannot be modified), I need to get a server that processes HTTP requests for PHP pages over FastCGI, to honour "Connection: Keep-alive" (sent by said ...
-1
votes
1answer
38 views

Why does Apache (and other browsers) throw 403 due to file system permissions? [closed]

To forestall any confusion, I am not asking for help with a technical issue debugging my web server. I am asking about the history and logic behind Apache (and other web servers) throwing 403 when ...
0
votes
1answer
22 views

some http packets not reaching host

we are experiencing a very strange issue with http traffic between 2 machines on the same network: when sending an HTTP request there are some packets not reaching the other host as you can see from ...
0
votes
1answer
35 views

Is it normal to have HTTP 499 errors in 1 out of 4000 requests?

I made a website, behind CloudFlare, and sometimes I get an early terminated (nginx 499) request, which is really hard to work around in the codebase. This happens in about 1 out of 4000 requests. ...
0
votes
0answers
20 views

NGINX not recognizing $request

Well.. NGINX or me guess.. something that I'm not doing OK. The point is, I'm getting some request from bots of this type: 91.123.1.56 - - [04/Apr/2016:12:13:39 +0200] ...
1
vote
3answers
37 views

UFW: How to block http requests on another port than 80?

I am running an application on port 7000 which is part of a network. So it has to communicate over port 7000 with all other servers of the network (not LAN, dynamic IPs). It has also a web frontend ...
1
vote
0answers
21 views

After changing to SSL index.php post fix is expected before server requests

I installed Mautic in an AWS server and it was working fine on the port 80. But when change to the following site configuration in mautic.conf (placed in /etc/apache2/sites-enabled/mautic.conf) to use ...
-1
votes
1answer
33 views

Apache how to create default host for https

I have several sites on my server. For example: domain1.com and domain2.com. If user requests a not existing sub-domain (For example: a.domain2.com) he will be redirected to domain1.com. I want to ...
0
votes
1answer
19 views

What happens when you make a HTTP request from 1 HTTP server on a VPS to another HTTP server on the same VPS?

I have 2 HTTP servers running on 1 VPS. If I make a HTTP request from 1 to the other. What happens exactly? Does it go through the internet and back? Or is it handled within the VPS? Hosting: Digital ...
-4
votes
1answer
22 views

GET COMMAND in HTTP Request

I cannot use GET command to get the web site body content only. For example: [root@mrtg home]# echo -e "GET / HTTP/\r\nHost: test.com:80\r\n\r\n" | nc 192.168.1.201 80 HTTP/1.1 200 OK Date: Sun, 20 ...
0
votes
0answers
13 views

Does Internet Explorer background load static content

I'm trying to understand some odd access logs on an server that requires user sign in to access content. We get frequent access logs from users that are not authenticated, however they are requesting ...
0
votes
1answer
48 views

Reverse proxy for DoS / DDoS protection

after i search how to protect my website host server using GRE tunnels, some friends of this forum give me a tip to use Reverse Proxy that would be better. But i don't found any guide on how to ...
1
vote
0answers
13 views

SSL of domain redirecting to plesk panel default screen [closed]

I have plesk setup on my linux server, where we have a subscription setup for a website 4ti.co.uk We are getting a strange error where if you go to the domain using https://4ti.co.uk it directs you ...
1
vote
2answers
24 views

tcpdump http containing non expected payload bytes

I am monitoring an openvpn link with tcpdump a la tcpdump -i tun5 -w capture.dump -W 100 -C 100M -s 0 -n There is http/xml traffic going over that link which is basically caputered just fine. However, ...
0
votes
0answers
14 views

How to configure virtual host to stop foreign domain traffic [duplicate]

In the question How can I stop someone from displaying my website on his domain? someone suggests a solution using virtual host configuration. Can someone indicate how to configure virtual host ...
0
votes
0answers
18 views

Nginx two servers were invoked when processing 1 request

Seeing this in nginx logs: "upstream": "52.86.112.192:443, 52.86.78.197:443", "upstream_response_time": "7.005, 7.016", The documentation of nginx says: If several servers were contacted during ...
0
votes
0answers
30 views

Very slow outgoing requests, from **some** servers

In this case, it's an HTTP request to https://www.instagram.com/, but it has happened before like this. From my home (Ubuntu, i686) server it's very fast (~ 0.3 sec). From my online, modern (Ubuntu, ...
-1
votes
1answer
40 views

Forcing HTTP to HTTPS causing 404 error

I have a website based on WordPress, and one section of it is built by external programmers (the backend). I was able to force all connections to go on HTTPS instead of HTTP using a plugin for the ...
0
votes
0answers
27 views

Tomcat access log - body of a request shows in the next request

I have a weird behavior in my tomcat (7). An external app sends a bunch of DELETE requests with a body to my TomCat WebApp. The body is being neglected in the webapp (I dont know why the app sends ...
0
votes
0answers
12 views

Reverse Proxy Setting in Apache for Web Socket and Custom Ports

Can someone help me please to modify following reverse proxy setting to handle a custom port coming in QUERY_STRING of the URL. Here rest of the setting are fine but I'm not getting how to replace ...
0
votes
1answer
93 views

How to turn off partial content response in apache

I was playing around with apache and a chromecast with video, and as far as I can tell, the local video will only play on the chromecast if it gets a 200 response, rather than a 206 response. Is it ...
1
vote
0answers
85 views

NGINX: Check if SSL (HTTPS) is available, if not, redirect to HTTP

The current config is: server { listen 80 default_server; listen [::]:80 default_server; listen 443 ssl default_server; listen [::]:443 ssl default_server; listen 192.168.0.5:80 ...
1
vote
0answers
18 views

urllib3 failure through Apache/WSGI; successful from python commandline

I have a webserver serving Django through Apache 2.4 with mod_wsgi and Python 2.7 on Ubuntu 14.04. When first setup, outgoing connections from this webserver using the Python library urllib3 were ...
0
votes
0answers
43 views

foreman provisioning fails with timeout

Hello I have a problem with foreman provisioning on ovirt. It fails getting the kickstarter file and says: Failed to fetch kickstart from http://foremanurl/unattended/provision?token=. Then I get ...
3
votes
1answer
72 views

Prevent HAProxy from redirecting HTTP to HTTPS

I'm using HAproxy to load balance requests between Apache servers. I'm trying to disable HTTPS for a special use case (serving of kickstart files), and I'm using port 8000 to do this. I have an ...
2
votes
1answer
28 views

HTTP server is requested a domain it doesn't host. What to reply?

I'm trying to create a web server using node.js, (just as a learning project, not to be used in production, I know of expressjs), and I'm not sure what to do in the case I mentioned in the title? ...
0
votes
2answers
91 views

How to setup 2 domain at the same nginx server, 1st on HTTPS, 2nd on HTTP?

I have a nginx config like this First Block: server { listen 80; server_name abcd.info; return 301 https://$host$request_uri; } server { listen 443 ssl http2 ...
-1
votes
1answer
24 views

HTTPS activated, how to refuse HTTP connections [duplicate]

I recently installed an SSL certificate on my server and now HTTPS seems to work for all the pages. However, the server is still accepting connections from HTTP. How do I enforce HTTPS? I use a ...
0
votes
2answers
64 views

routing nginx request through index file

I would like for nginx to process: http://dev.mydomain.com/about-us as http://dev.mydomain.com/index.cfm/about-us While loading the index.cfm file, Nginx must also pass along the "cgi path info" ...
2
votes
1answer
137 views

Nginx request_time slower with HTTP/2

We are running nginx/1.9.10 as a frontend server with multiple application server as upstream. We are using plain http, mostly https and switched to http/2 in the last weak. We are logging like ...
1
vote
0answers
17 views

Issues with URL length in Apache/mod_wsgi

I have a python wsgi API in which I process incoming URL payloads of varied length. I believe, but am not absolutely sure, that I may have run into a limitation of URL size. For a particular payload ...
1
vote
0answers
24 views

Apache2 virtualhost serving on unspecified domains

I'm trying to set up my amazonaws EC2 instance with a wordpress HTTP server (blog.mysite.com) through apache and a node/express HTTP server ([www.]mysite.com) both running on port 80. From what I've ...