Questions tagged [headers]

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

71 questions
0
votes
1 answer

Is it possible to identify a proxy sever (IP & other headers) as the user who originated the request?

Is it possible to identify a proxy sever (IP & other headers) as the user who originated the request? Example 1 (Standard use case): I have a proxy server a.com that proxies all requests to b.com. Traditionally b.com will receive an X-Forwarded-For…
Eric Uldall
  • 161
  • 2
  • 10
0
votes
1 answer

How do I filter tcpdump results based on a missing header?

My HAProxy adds 'X-Proto: SSL' as a header to requests that are over HTTPS. I'd like to use tcpdump to see the 'Host:' header of all requests that do not have that 'X-Proto: SSL' header. Here's what a sample request looks like with it (captured with…
nowthatsamatt
  • 921
  • 1
  • 8
  • 11
0
votes
1 answer

nginx regex with capture bug

I'm trying to use regex capture functions for create an Access-Control-Origin header. So y have two main capture, one for the adress of website ( likehttp://example.com) and another for the port user (such as :4200). The idea is having this header…
P0pR0cK5
  • 330
  • 1
  • 6
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
  • 533
  • 10
  • 24
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
  • 375
  • 2
  • 5
  • 12
0
votes
0 answers

Remove 'Server' header in IIS 10

Our compliance department wants us to remove the 'Server' header when someone hits our server via IP address. I don't know how to accomplish that, can someone help? To be clear, I know how to do this on a website we are hosting (e.g.…
Jose
  • 167
  • 2
  • 7
0
votes
1 answer

Multiple issues with Nginx configuration

I am quite new to Nginx and I just can't make it work. I have a web app hosted in Azure. It's a WordPress website. Here is the Nginx file: server { #proxy_cache cache; #proxy_cache_valid 200 1s; listen 8080; listen [::]:8080; …
pictoru
  • 103
  • 3
0
votes
1 answer

Postfix header_checks with multi-line headers and capture group

We have a header_checks regexp passed to the "cleanup" process, but it's not processing the header as a single header if it's on multiple lines. header_check (pass value of header to FILTER): /^X-OurHeader:\s+(.*?)/ FILTER…
0
votes
0 answers

Multi-Prefix (CORS Header)

How can I make this so it handles both https/http? add_header Access-Control-Allow-Origin "https://sub.example.com"; What is happening, is specific resources rely on http traffic (//api.example.com), therefor throwing a CORS error in Chrome…
WiiLF
  • 101
  • 1
0
votes
0 answers

Can't modify header Content-Type in PHP with Nginx

I have a nginx/1.18.0 and php-fpm 7.4.19 (fpm-fcgi) PHP code header('Content-Type: text/css',true) doesn't modify the header, the same for application/javascript or image/jpg, files are sent with content type text/html. instead, these headers…
TeoD
  • 1
0
votes
0 answers

Postfix: Rewrite header FROM sender based on sasl login username

Lets say I got a sasl login user called myloginuser. The user owns the domain: example.org and has set up following email address: sid@example.org myloginuser is authenticated and wants to send an email. His mail client is misconfigured and sets…
0
votes
1 answer

From "Display Name" not working - Postfix/Dovecot

Working with Dovecot, Postfix and MySQL to send email from my web server (at example@mywebsite.com) but what shows up in the inbox is example instead of the display name I put into the email client (tried Thunderbird and Evolution with same…