The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
2answers
374 views

IIS sets http header Expires to -1, how do I override this with mod_expires

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1. ...
0
votes
2answers
236 views

Having trouble removing HTTP header “Cache-control”

I'm trying to get my assets cached using Cloudflare Cloudflare states here that "CloudFlare will not cache your site or static content if you have no-cache and private headers coming from your ...
2
votes
1answer
130 views

php file downloads instead of being processed with ajax on apache

I have a small website where some content is displayed within a HTML tag using AJAX. The content is simply taken from another page on the same web site. However, sometimes instead of loading the ...
2
votes
1answer
655 views

How to remove “Client-Peer” (etc) header in nginx with php-fastcgi

My setup: OS: Ubuntu 11.04 HTTP Server: nginx 1.2.1 compiled with the HttpHeadersMore module processing PHP via php-fastcgi (other irrelevant software - ruby, python, etc) My problem: I'm ...
1
vote
1answer
99 views

postfix header_checks - regex spanning multiple lines

I would like to create a spam filter that spans multiple lines in headers. This is my /etc/postfix/header_checks file: /^From:.*name[0-9]+@.+[\r\n]+To:.*name@domain\.com/ REJECT It's a valid ...
1
vote
1answer
268 views

haproxy header rewrite to lower case

I have a custom app behind an haproxy server. Can haproxy rewrite the case of the header? For example changing http://www.company.com/ABC to http://www.company.com/abc If so, how?
0
votes
1answer
46 views

multiple post requests using wget and same base-url

wget has nice option that lets you allow downloading multiple files from same location (I mean combination of --base and --input-file) Advantage of this, is that if possible wget tries to reuse ...
0
votes
1answer
485 views

DNS bind & mail server - received by unknown

I have a web server that talks to a mail server when sending an email. Now I'm hosting my own DNS, however, since then I see that one of the email headers says: Received: from webserver.domain.com ...
0
votes
1answer
148 views

re-direct SSL pages using header statement based on port

I found this in the header.php file of a e-commerce site. Is this better done in a .htaccess file. Also what would happen to any post parameters that get caught in the header statement. // flip ...
1
vote
0answers
37 views

How to override “Content-Type” header with PHP script on Nginx

I have some php script which returns jpeg image(1x1 pixel) with content type "image/jpeg": // return image $image_name = 'img/pixel.jpg'; $image = fopen($image_name, 'rb'); header('Content-Length: ' ...
1
vote
0answers
362 views

Proper resolution of request url and referer

I was working on my node server and encountered the need to implement the use of request.headers.referer. When I did tests and read headers to determine how to write the parsing functions, I couldn't ...
0
votes
0answers
50 views

IIS cache headers for selective file types

I have an application that serves .js, .css and .gif, and bunch others (.xls, .htm,.pdf....etc) file types. My requirement is to allow browser caching of .js, .css and .gif files but not allow any ...
-1
votes
0answers
19 views

How to install linux-headers-2.6.32-2

My system is running on linux kernel 2.6.32-2.I can't find linux-headers-2.6.32-2. So... can I download linux-headers-2.6.32-5-486? or I will get some incompatibility issues? I want to build module ...