Questions tagged [request]
103 questions
21
votes
3 answers
How do I configure nginx to accept gzip requests?
I know that you can use nginx HttpGzipModule to gzip responses. Can you als use it to enable nginx to handle gzip-compressed requests, i.e. ones with the request header: Content-Encoding: gzip ?
Note: Apache, with the help of mod_deflate can handle…
ma11hew28
- 779
- 2
- 9
- 17
13
votes
4 answers
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.example.org:8080/fetch/characters/
be actually reached…
xetra11
- 251
- 1
- 2
- 9
11
votes
3 answers
What are these weird access requests?
I using WAMPServer on my computer for testing and development. I forgot and left it online for a few days and I notice a bunch of random requests that aren't even from my IP. Here are some examples.
77.73.69.127 - - [29/Apr/2012:08:22:20 -0700]…
Jack
- 497
- 3
- 5
- 11
8
votes
4 answers
Need to DUPLICATE HTTP requests to two servers
We're developing an new server to replace an old one, and want to put the side by side for before & after tests - so that we can compare the end result and find the discrepancies.
The input to both services (old and new) is HTTP requests (mostly if…
Moshe Eshel
- 233
- 2
- 7
8
votes
4 answers
Separate Nginx access log file for certain requests only
As far as I can see Nginx supports by default 2 log files: error_log (tracks issues related to the Nginx server itself) and access_log (tracks requests processed by Nginx). Whilst it is possible to control the format of access_log with the…
Max
- 3,373
- 15
- 51
- 71
8
votes
4 answers
Why is PHP $_REQUEST array empty?
I installed nginx on Ubuntu Hardy and immediately realized that the PHP scripts were getting empty request arrays, ie whether GET or POST nothing was coming through, even the $_REQUEST array was empty.
When I switch back to Apache it was all…
vfclists
- 1,562
- 5
- 20
- 36
7
votes
1 answer
How to dynamically set HTTP Header in Apache 2.2?
Seems like this should be easy, but I cannot figure out the syntax. In Apache, I want to use the value of an existing request header to set a new request header. Some simple non-working code that illustrates what I'd like to do:
RequestHeader set…
Michael
7
votes
1 answer
Chrome DevTools - Request Header Size
Is there a way to get the total size (in bytes) of the request header that the browser is sending to the server for each request?
stepanian
- 171
- 1
- 1
- 4
7
votes
3 answers
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 webserver (node.js) can react immediately to the…
Sunib
- 73
- 1
- 1
- 4
7
votes
4 answers
What's wrong with this HTTP POST request?
I'm trying to fuzz a server using the Sulley fuzzing framework.
I observe the following stream in Wireshark.
The error talks about a problem with JSON parsing, however, when I try the same HTTP POST request using Google Chrome's Postman extension,…
bigboy
- 101
- 1
- 1
- 4
7
votes
3 answers
Requests in IIS' "SendResponse" state stuck for a long time; Slow IIS 7.5/ASP.NET 4.0 web application
I have a set of very beefy, very underutilized servers which are running a couple virtual machines with Windows Server 2008 R2 and IIS 7.5.
The problem: Sometimes requests take a very long time to be processed. The user sees their browser spinning,…
ALA
- 71
- 1
- 1
- 3
5
votes
1 answer
nginx redirect based on $request_uri
In my default site config file, I have the following redirect to enforce https :
server {
listen 80;
server_name www.example.com example.com;
return 301 https://example.com$request_uri;
}
I want to add a subdomain, but to…
Avi Kehat
- 51
- 1
- 1
- 2
5
votes
5 answers
Parse HTTP requests through Wireshark?
Is there any way to parse HTTP request data in wireshark? For example, can I expose the request parameters upon an HTTP GET request (being sent by my machine), so that I don't need to read the (sometimes) truncated URL and find them by myself?
I was…
diogobaeder
- 151
- 1
- 3
4
votes
1 answer
HAProxy - Add response header based on request host
I have a HAProxy set up to redirect traffic to a few internal servers.
What I'm trying to do is to set some response headers, based on the request host. Unfortunately I can't get it to work.
Current settings look like this
acl mywebsite…
elmo
- 55
- 2
- 8
4
votes
2 answers
List all available templates from CA certutil or certreq
I need to request a certificate via command line I have investigated that certreq is the tool that can request the certificate.
I am used to the gui to request the certificate by selecting one of the available templates, but I need to do the same…
kimo pryvt
- 421
- 4
- 11
- 22