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

1
vote
1answer
65 views

Conditionally serving high resolution and WebP images with nginx

Not sure if I'm trying to pull off the impossible, but I'm wanting to configure Nginx to serve ".webp" files to browsers that support the file format and serve fallback files (i.e. pngs, jpgs, etc.) ...
2
votes
1answer
68 views

Disable html error reporting on nginx

Is it possible to completly remove the html erroring reporting in nginx for instance, when I have a 403 error nginx serves the following : <html> <head><title>403 ...
2
votes
2answers
565 views

The Content-Length header does not exist

I have nginx server installed on Linux. When I send a request with curl, the Content-Length header is missing from the response. The 1.php file is: <?php echo "hello"; ?> The example ...
0
votes
3answers
990 views

Can access website, but can't ping it, nor access via FTP

I'm having a problem connecting to a server by other way than HTTP. Connecting via FTP ends with timeout, as well as pinging: C:\Users\folmert>ping wroclaw-elektryk.pl Pinging ...
0
votes
0answers
273 views

IIS Rewrite Rule in web.config to redirect HTTPS requests to HTTP

I need to redirect all https requests to http, for example, if someone visits https://www.example.com/another-page/ to http://www.example.com/another-page/ I have the following rewrite rule in my ...
0
votes
2answers
57 views

use iptables to limit the number of concurrent http requests per ip

Currently my iptable is as follows to limit the number of concurrent connections per ip to 10 from any http client. However, I tried a simulated http test and I'm not getting dropped at all. what's ...
1
vote
1answer
60 views

Nginx config to preventing non-browser requests to domain/IP

Having recently installed django 1.6 on a server hosting several django based sites, I'm getting a lot of errors for "ERROR: Invalid HTTP_HOST header". This is a known 'feature'. The problem is that ...
0
votes
0answers
174 views

OpenVPN - Http proxy - connection reset

I am dealing with a problem in OpenVPN (I think so) and maybe someone can help to sort it out. I am connecting to the internet through a HTTP proxy server (10.0.0.1:8080). As I set manual ...
1
vote
0answers
98 views

Getting a chunked request through nginx

First some background: We have an embedded device that uploads a lot of small events to a web server. Chunked encoding is used to post this information. Every event is send as a seperate chunk, so the ...
0
votes
0answers
21 views

Nginx blocks http response with long string

I encountered a issue with my live web service today. The backend setup is Nginx + Django webservice. In the webservice, I have code to return a HttpResponse with a long JSON string (> 1400 char). ...
0
votes
0answers
52 views

2 Webapps hosted on same server talking to each other - do they use eth1 or lo1?

I am trying to establish bandwidth needs for a set of webapps in the company. I am using SNMP to monitor the bandwidth on the eth1 interface, however I am trying to establish what is going over the ...
0
votes
1answer
72 views

Multiple Proxy servers - and how to get around non-SNI devices?

We have a lot of devices that cannot use SNI and we want to be able to proxy a lot of HTTP/HTTPS servers. I was thinking we could setup a HAProxy for each URL to connect to initially, and then load ...
0
votes
1answer
94 views

How to proxy traffic by IP using server names/aliases?

We have 5 different server locations each containing around 30 servers each, each server represents a URL and serves both HTTP and HTTPS. They're all identical however provide different content based ...
0
votes
0answers
91 views

Send files ending in .mp4 in Apache with HTTP 206 Partial Content

I am using Apache as web server and the return code is always HTTP/1.1 200. I want to set some kind of handler or use a mod to return HTTP/1.1 206 when the extension of the file requested is .mp4 so ...
0
votes
3answers
60 views

Is there some free remote sniffer (aka sniffer on free remote server)? [closed]

I have this setup: ________Company LAN_______ _________ . '| _________ | | .| BUNCH OF | ...
0
votes
0answers
102 views

401 Unauthorized response from java webservice

I am getting the 401 Unauthorized response while I am calling java webservice (JAX-WS) from C# client ,It was working on my development environment but not working on production server. I can access ...
0
votes
0answers
115 views

Downloads of large files fail without an error

We run professional websites on IIS 6 and have complaints of (and have verified) that downloads (via HTTP) from remote locations (e.g. Australia) are incomplete or truncated. This means the download ...
1
vote
1answer
756 views

Redirect all http requests behind Amazon ELB to https without using if

Currently I have an ELB serving both http://www.example.org and https://www.example.org. I would like to set it up so any request pointing to http://www.example.org is redirect to ...
2
votes
0answers
100 views

What would cause Apache to return malformed HTTP responses?

I have a Go server that reverse proxies requests to an Apache/PHP server. I have been able to rarely observe that on occasion, the Apache/PHP server will cause Go to produce the following error ...
0
votes
2answers
35 views

Is it possible to use Chrome as a transport?

I am in need to send some json log files to an AWS server. But the proxy, ISP or something else I cannot get in touch with is blocking everything else besides browsers on 80 and 443. Even Curl and ...
-1
votes
1answer
82 views

HAProxy - proxy to webserver via tcp

I have a simple web application, All requests to that application are HTTP based (RESTfull API and standard ajax) I have an haproxy before my tomcat cluster. So now i have clients that http request ...
-1
votes
1answer
61 views

Browser cannot connect to tomcat running inside of VM [closed]

So, i'm running a webserver inside of VM image (VMWare Player 5.0.1) on windows 7 SP1 64bit, and neither IE, nor Chrome load the page with the address of it: http://192.168.201.128:8080 BUT: ping ...
0
votes
0answers
63 views

How do you hide folders in IIS (hide 403 and avoid 301)?

I asked this question on http://security.stackexchange.com/ and was told to put it here We are getting ready for our pen test scan, and one of the issues we have is Hidden Directory Detection via a ...
1
vote
1answer
63 views

HTML served from localhost is being modified by ISP [closed]

I took my laptop to a local restaurant yesterday to do some work setting up a new web app. I get the server in place, and created a simple HTML page: <html> <body>Hello, ...
5
votes
1answer
18k views

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

Apache redirect request to another server on error

I currently have 3 web servers serving large files load balanced at DNS level. There's one "master" server, and two "slave" servers. The master server has all of the files required, and it pushes ...
1
vote
1answer
41 views

Nginx, server_name targeting trailing “.” will not redirect

When you type in "dev1.example.com." into your browser or you request that Host with your HTTP client, I want it to redirect to "dev1.example.com". I've attempted to do this with the following server ...
0
votes
0answers
64 views

“405 method not allowed”. It's allright sending the request from a HTTP simulation web

Im getting a 405 when sending a POST request to "http://www.sermobi.com/customers" from a mobille app using an ajax function. But I don't get that error using a tool like http://www.hurl.it/#top. I ...
-1
votes
2answers
346 views

Autodiscover URL redirection from cPanel Apache to different Subdomain URL on an IIS/Exchange server

== The Current Situation: == We have a web and DNS server for contoso.com (10.10.10.1) This web server 10.10.10.1 is also the mail server for @fubar.contoso.com We then have another server for MS ...
0
votes
1answer
85 views

Lighttpd splitting request URI and dropping query parameter

I'm running lighttpd 1.4.33, which is reverse proxied to from an Apache server that is open to the Internet. When accessing a script from the local address of the lighttpd server, GET parameters are ...
0
votes
1answer
104 views

Fastcgi request record is too big

I am running an Nginx server, which requires me to accept URI String containing up to 4mb of data. I have configured nginx to accept the params by setting: /etc/nginx/nginx.conf ...
0
votes
1answer
38 views

IIS8 - HTTP automatically forwards to HTTPS

Currently I am running two sites (each one has an app Pool). One for HTTPS which is called cloud and the other one for HTTP content called headsup. When I browse to the domain.com/cloud it all works ...
0
votes
0answers
134 views

Webseal, AJAX, CORS and OPTIONS

I need a way to define a Webseal junction that requires cookies for all requests, except OPTION requests. So, a little introduction, just to make the question available to people with less knowledge ...
0
votes
1answer
495 views

Strange POST request to server in apache log

I have been seeing this all day in my apache access log: 213.55.105.126 - - [19/Jul/2014:18:39:24 +0000] "POST /xmlrpc.php HTTP/1.1" 503 2539 "-" "-" they are continuously coming in. different IP ...
0
votes
2answers
126 views

IIS 8.5, serving corrupt zip files

I have a WS2012r2 web server with multiple sites. We host zip files that are accessed though a direct URL (http://mysite.me/Test.zip"). These files are used to update our software and are downloaded ...
0
votes
1answer
22 views

Setting up additional breadcrumb re-direct using mod_rewrite

Currently I have mod_rewrite configured as follows: <VirtualHost *:80> ServerName address.website.org ServerAdmin webmaster@website.org DocumentRoot /var/www Redirect permanent / ...
0
votes
0answers
365 views

Why is this HTTP request being truncated?

We've got a user who is getting an error on a page due to an HTTP request getting truncated. As far as we know, it is just the one user (though others might not have reported it). This is our main JS ...
1
vote
0answers
52 views

Closing proxy to service socket when client is lost

We are using nginx, right now 1.6 to reverse proxy our services to the client. We are also using Server-Sent Events, a layer on top of HTTP that keeps the socket open. Here is a piece of required ...
1
vote
1answer
27 views

Browser getting confused with similar-named directories?

This might be completely off-topic, and if so, I'm sorry, but it's about servers and it's got me completely baffled. Basically, seemingly at random, images get loaded wrong. It's never happened to ...
0
votes
1answer
43 views

how to implement access control using connetcing hostname and port(squid)

some http proxy service providers here just assign an unique proxy address and port to a user, and the user just needs to enter the necessary proxy address and port to get access.I think this method ...
0
votes
0answers
48 views

What should be the correct http response code for custom proxy login/register page

I configured a firewall rule on a dd-wrt router to redirect http connections to a shell script, and drop the remaining ports, for the unregistered range of IPs. I am trying to tell the clients they ...
1
vote
1answer
543 views

HTTPS reverse proxy using apache

I am using this apache configuration to set up a reverse proxy to a process running on the same machine, on port 8443, <Directory "/var/www/html"> Options +FollowSymLinks RewriteEngine ...
2
votes
3answers
60 views

What HTTP methods does the server typically use in a response (if any) [closed]

I understand what HTTP requests look like from the client side, but what I am curious about is what methods does the server use to serve pages back? Client: GET /index.html HTTP/1.1 Host foo.com:80 ...
-3
votes
3answers
29 views

Is HTTP Shortlived?

I see mainy people class HTTP as a short lived protocol. i.e fire and forget. However with HTTP 1.1 and the use of keepalive connections I wouldnt really say this is the case. Can any confirm if this ...
-1
votes
1answer
156 views

Hot redirect http/https request coming to port 80 to a internal tomcat server on 8080 [closed]

I have a production server with a domain name. It has a tomcat server on 8080. It has several web applications. So I want to map the http/https requests coming to that server to these web ...
1
vote
1answer
105 views

Is it safe to use HTTP status 308 Permanent Redirect?

Is it safe to use the HTTP status code 308 Permanent Redirect (suggestion) in server responses? The issue with 301 Moved Permanently is that it only works with GET requests (to be fair: POST will ...
0
votes
0answers
38 views

Browsers ignoring no-cache headers when 302 status

I have a proxy server that will either deliver you the website contents or redirect you to a login page if your IP is not recognized (using iptables). This works fine for redirecting to the login page ...
0
votes
1answer
41 views

Very big connecting/waiting time for HTTP requests

We use server as a an aggregator with lots of small income HTTP requests (~1000 RPS). When we reached that number of RPS, http requests started to take randomly longer amount of time (100ms-4 ...
0
votes
1answer
237 views

Redirect loop after setting up domains

I migrated domains from a service provider (ipage) to godaddy. The hosting has been setup on AWS S3. I have done such things before and they worked. However this time I'm hitting a redirect loop ...
0
votes
1answer
58 views

Tunnel http requests to another server?

I have a VPS we'll call it mydomain.com Is it possible when someone goes to mydomain.com, the request is forwarded to another different server, let's say 192.168.0.5 processed by that server and then ...