Questions tagged [headers]

Probably not the tag you want, please use something more specific like http-headers or smtp-headers.

65 questions
0
votes
1 answer

Pros/Cons to disabling HEAD requests with Nginx?

I have a static blog/site and I'm wondering if there are any negative implications of disallowing/disabling HEAD requests within my Nginx conf? For example: would it break the site with certain web browser? Are their any security implications with…
0
votes
1 answer

How to avoid duplicated configuration in Nginx Location Config

Take this Nginx location config as example: location ~* \.(gif|jpg|jpeg|swf|css)$ { add_header Cache-Control "max-age=259200, public"; } location ^~ /abc/ { try_files $uri /abc/generic.png; } For request /abc/x.jpg, it will match the 2nd…
starchx
  • 433
  • 10
  • 23
0
votes
1 answer

SQL server management studio 2005: Still can't copy column headers(checked option to include it already)!

I already changed the option to include column headers(Tools->option->results to grid->include column headers). Yet if I copy paste a Table or SQL query grid data results into Excel, i don't export the column names. How do I get column names to be…
RTB
  • 1
0
votes
2 answers

Files and their headers?

(I'm a dos guy , I always liked to view files in norton commander and see inside stuff etc) however over the years I've noticed that each file(well , most of) ( binary files ) has header : For example exe file has the MZ header : PGP file has…
0
votes
3 answers

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 pseudoheader even have to be created? Why not…
Wintermute
  • 355
  • 1
  • 5
  • 12
0
votes
0 answers

"$request_headers" and "set_by_lua_block" not working after updating nginx version

nginx: [emerg] unknown directive "set_by_lua_block" in /etc/nginx/conf.d/example.conf "$request_headers" and "set_by_lua_block" not working after updating nginx version to nginx version: nginx/1.21.6 why "$request_headers" is not working after…
0
votes
0 answers

Which to use in List-Unsubscribe header?

I followed this link to add my unsubscribe email header as below, /^Content-Transfer-Encoding:/i PREPEND List-Unsubscribe: mailto:?subject=unsubscribe>" so that the unsubscribe requests could directly go to the sender, instead…
0
votes
1 answer

Strange issue with forwarding auth headers from apache to nginx - Non empty header(se_custid/ein) not found in the request to proceed

On the setup describe below, Looks like apache is not able to forward required headers to nginx or nginx while forwarding initial request is not forwarding full URL but just relative path. The idea here is to ensure request to application hosted on…
0
votes
1 answer

How to access X-Forwarded-For header on HAProxy behind AWS Loadbalancer

On HAProxy instances running on K8S I need to block certain IP addresses manually on HAProxy. Currently I am failing already to log them. Per the AWS docs the loadbalancers set the X-Forwarded-For request header and fill in the clients IP…
Jason Nerer
  • 85
  • 1
  • 5
0
votes
0 answers

Email headers: Source IP in x-source-ip but not in "Received" hops

I'm investigating an email and in its headers all the hops (Received entries) are private (10.X.X.X) addresses. Initially I thought that this simply meant that the email originated from the same mail-server (so it never needed to do a public hop).…
0
votes
2 answers

How to add http host header in URL?

I have web app deployed in K8 in aws & configured LoadBalancer to call the same from internet. In the Postman I call like , GET https://myteams.myorg.net/config Headers: Host doom.myteams.myorg.net I can convert as corresponding http request as…
k8dev
  • 1
  • 1
  • 1
0
votes
1 answer

Dovecot sieve concatenate heqders

Setup postfix forwards all mails to an archive@domain user via always_bcc, postfix saves all the RCPT TO in X-Envelope-To headers to perserve the bcc recipients, postfix deletes X-Envelope-To for smtp transfers out for privacy reasons, postfix…
0
votes
1 answer

Multipart text/html email from Invision Community not parsing correctly

First of all, yes I have contacted Invision Community support. Yes, I am a paying user with an active license. We went back and forth for several hours and all they have to say is there's nothing wrong with their software, and I need to fix my…
Krydos
  • 11
  • 3
0
votes
1 answer

Postfix header_check regex with if conditional not matching - change sender address when recipient domain matches

I have a header_check that should match when the RECIPIENT address is domain.com and if it matches, then it changes the SENDER address to systems@service.domain.com Scratching my head a little on this. Here is my header_check: if…
HarryT
  • 13
  • 2
0
votes
0 answers

Compile ModSecurity 3.3 with YAJL

anyone could help? I'm stucked on this. I already compiled ModSecurity 3.3 on this machine (followed these instructions). Now I'm trying to compile with YAJL (Yet Another JSON Library) to be able to log in JSON format. I installed yajl and…