The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
307 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?
1
vote
1answer
1k views

Sending e-mail from sendmail with headers

I am trying to send an e-mail with sendmail, but I need to specify some headers (From, Content-Type, Subject). Here is the command I am currently running: echo "Content-Type: text/plain\r\nFrom: ...
1
vote
1answer
926 views

Content-length does not appear with nginx and php files

I have a nginx server which serve a website. With my browser i can reach index.php, but when i look at the headers with firebug, i can't see the content-length on any php files, but for example i can ...
2
votes
1answer
1k views

Hide/Replace Nginx Location Header?

I am trying to pass a PCI compliance test, and I'm getting a single "high risk vulnerability". The problem is described as: Information on the machine which a web server is located is sometimes ...
2
votes
2answers
1k views

Apache2 merge multiple Set-Cookie headers

We have a server running varnish. In order that it works correctly with Magento it analyses whether a Set-Cookie: EXTERNAL_NO_CACHE=1 header is passed through. Only problem is that we have several ...
0
votes
1answer
178 views

Postfix delivery based on headers [duplicate]

I need to filter email delivery in Postfix based on a specific header. Lets have the following example: There's some PHP script that will dispatch emails to the local MTA (postfix). These emails ...
4
votes
1answer
5k views

Apache - disable range requests - disadvantages?

As there is a working exploit against Apache's byte range implementation (CVE-2011-3192, see here), I'd like to disable it until official patches are shipped with my distros (Debian, Ubuntu). The ...
0
votes
1answer
620 views

Adding To: header to incoming mails using hMail server

I have just enabled plus-addressing with my instance of hMailServer. Now, whenever I sign up for an online service, I can easily provide a unique email address for that service. This is part ...
0
votes
1answer
521 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
306 views

Content-Type header stripped in Email after switching servers

My program sends daily emails to users. I recently switched servers and once we setup the email job on the new server, one of our users complained that they are receiving the email in plan text. No ...
2
votes
3answers
4k views

IIS cache control header settings

I'm currently working on a website that is accessed over https. We have recently come across a problem where we are unable to view .pdf files or any other type of file that is sent as an attachment ...
1
vote
2answers
876 views

NGINX Pass-through server header

How do I get NGINX to pass through the 'server' header of upstream servers? Like, if NGINX is proxying to an Apache server with the Server header 'Apache2.2 (CentOS)', it strips it out and replaces ...
1
vote
2answers
165 views

would this header cause the email to be flagged as suspect?

Authentication-Results: [snip].mail.[snip].[snip].com from=someDomain.com; domainkeys=neutral (no sig); from=someDomain.com; dkim=neutral (no sig) Received: from 127.0.0.1 (EHLO ...
6
votes
4answers
10k views

RequestHeader with Apache environment variable

I have Apache set up as a load balancer. I wanted to make apache set the X-Forwarded-Proto header, but this doesn't work: RequestHeader set X-Forwarded-Proto "%{SERVER_PROTOCOL}e" The header gets ...
0
votes
3answers
173 views

UDP pseudoheader

Is it true that in the UDP header 2 bytes store a checksum for verification purposes by the destination host, and that this checksum is generated from a pseudoheader? If this is true, then why does a ...
0
votes
3answers
915 views

Website with optimal cache control

My goal I would like to let browsers cache my whole website, but only download the new information when I have changed one or more files. My situation After some research I have found a way to do ...
0
votes
1answer
631 views

Postfix rewrite header issue

I currently relay all my cPanel (exim) outbound emails through my Postfix server. However, postfix seems to remove some important part in the header that exim added before sending to relay. As ...
2
votes
5answers
4k views

Rewriting from headers in Postfix

I want to configure Postfix to replace the 'From' header in all forwarded/aliased messages with a custom email address, and the 'Reply-To' header with the original sender's address. Is that something ...
0
votes
2answers
2k views

Block websites based on header words by squid proxy

Is it possible to block website accessing based on HTML's "header words" by squid proxy on RHEL 5 ? If possible please tell as detail.
11
votes
3answers
21k views

How can I make nginx support @font-face formats and allow access-control-allow-origin?

I've added these rules to mime.types: application/x-font-ttf ttf; font/opentype otf; application/vnd.ms-fontobject eot; font/x-woff ...
0
votes
1answer
433 views

Lotus Notes 8.5 - How do I alter the FROM value in the headers of my outbound emails?

I'm running a Lotus Notes 8.5 client (through a domino server). I have a really ugly FROM value in the header of my outbound emails: firstname.lastname@company.com I want a nice neat "Firstname ...
0
votes
1answer
157 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 ...
3
votes
2answers
5k views

Apache redirect and set cache headers?

Doing a redirect in Apache is easy (mod_alias): RedirectMatch ^.*$ http://portal.example.com/ Setting cache headers is equally easy: Header set Cache-Control max-age=0 Header set Expires "Thu, 01 ...
-1
votes
2answers
453 views

How do I view headers, and message source in Hotmail [closed]

Hotmail changed their interface, and now I can't right click on the message (in list view) and view headers. Also I can't see the page source, besides the clutter within the regular HTML markup. Can ...
0
votes
1answer
591 views

Apache Header cache control using Location

I am trying to set two different http headers for cache control for two different portions of our site. These are the lines in my site.conf for the virtual host: <Location ~ ...
0
votes
2answers
141 views

Apache Prepending Header Information to ALL FILES

We're in the middle of setting up new servers, and have been having some odd problems with Apache. Apache is prepending text that looks like this: $15plðI‚‚�E�ðA™@�@��yeÔ|~Ÿ²�PγZ" zS€�8i³�� ...
0
votes
1answer
306 views

Suppress PHP Headers running cgi PHP from Ruby

I originally posted this on StackOverflow and it was suggested that I try posting this here because, "It might be something like the configuration in CGI is different than the configuration for your ...
-1
votes
2answers
3k views

Exchange2010 has Private Machine Name and IP in outbound SMTP - How to remove?

We have a domain (domain.local) that has IP Addresses in the 10.10.10.* range. In the outbound SMTP server traffic, I see the internal machine name (exchange.domain.local), and the internal ip ...
4
votes
2answers
213 views

What is the best way to move site to new domain without losing google page rank

Hello I just bought new domain for my web page. Is it good to use php redirection to the new domain and what are the exact headers that I must send to google bot to just renew the address and keep the ...
2
votes
2answers
2k views

What does the email header “X-CAA-SPAM” refer to?

I've got an application that sends out notification emails to users of the application (this is not spam; the information in these emails is solicited and useful, and is also a feature turned off by ...
1
vote
1answer
931 views

ngrep - possible to hide payloads?

I use ngrep a lot to inspect HTTP headers to see what's going on. I use the -q flag for quiet output, but I really don't want to see the payloads, only the headers. Is there a way to do this? My ...
1
vote
3answers
9k views

Remove X-Forwarded-For header in Squid 3.0

Some months ago I was working with Squid 3.0 and managed to get rid of the X-Forwarded-For header completely. Now I am trying to do the same thing but I do not seem to hit the nail. I have tried ...
3
votes
1answer
2k views

Is this a proper Content-Type header?

I have a pretty good understanding of the Content-Type header for most cases. I understand that for the following four examples, you would normally follow the MIME-type with charset=your-charset-here. ...
1
vote
2answers
5k views

How do I remove these junk mail headers?

I'm using Postfix 2.3.3 and mail sent from my server always add useless headers which I'd like to remove. Currently I'm only using the PHP mail() function to send mail. Return-Path: Received: from ...
1
vote
1answer
2k views

Should I use Expires headers, Cache-Control headers, or both?

Just trying to do a bit of performance tuning on a client's site. I don't want to set far future expiries yet, because we are still changing a lot of stuff regularly, but I'd like to give everything ...
1
vote
1answer
611 views

Adding mail header if postfix DNS based RBL (realtime black hole) check fails

I have setup a receiving Postfix mail server. Here i have custom code written that parses the whole mail received by postfix and use the headers, body and attachments separately for different uses. I ...
2
votes
1answer
2k views

Disable User-Agent based Vary header response in nginx?

It seems that nginx includes a Vary: Accept-Encoding header in some cases regardless of the file types I specify via "gzip_types". I do not have much experience with nginx. Does it in fact send Vary: ...
1
vote
1answer
330 views

Postfix: Get real forwarded-to address

Our system is set up such that *@our-server.com goes to reader@our-server.com. We automatically process email and it's easier/faster to connect to a single account that has all email rather than the ...
1
vote
1answer
117 views

Doctype xml version definition

W3C DTD instructions include the following as the very first line of a (X)HTML document: <?xml version="1.0" encoding="utf-8"?> I acknowledge the importance of the DOCTYPE declarations that ...
2
votes
2answers
2k views

Sending machine hostname as a header in Apache

I have a group of linux apache 1.3 servers behind a load balancer, and I want to be able to, at a glance, determine which server I'm hitting. The load balancer is severely limited in its monitoring ...
1
vote
4answers
4k views

Is there a way to add expires header to images with Godaddy shared Linux hosting?

I can't find a way to do it. Is it even possible?
20
votes
4answers
21k views

How to dump entire HTTP requests with apache

Is it possible to dump entire HTTP requests by apache? I need to track all HTTP headers of incomming requests. How to do that?