The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
2answers
330 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
162 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
127 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
565 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
251 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
414 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
144 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
321 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
47 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 ...