Questions tagged [mod-headers]

An Apache module which provides directives to control and modify HTTP request and response headers.

109 questions
0
votes
1 answer

file not load from browser cache with expires and cache control

I'm working on a gwt project and i set a proxy with apache2, mod_proxy, mod_expires and mod_headers to manage loadbalancing and cache. All resources, are fine exept one XXX.cache.html. With Firefox/Firebug or chrome/developer Tools, i can see that…
mruellan
  • 377
  • 4
  • 14
-1
votes
1 answer

htaccess multiple headers returning CORS mismatch

I've followed https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#cross-origin_images and these stackoverflow answers Access-Control-Allow-Origin Multiple Origin Domains? To try and get this to work nicely. But…
designtocode
  • 2,215
  • 4
  • 21
  • 35
-1
votes
1 answer

exclude regular expression

I have a regular expression for the HttpOnly configuration : Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure For Appdynamics EUM, i want to exclude from this regular expression everything that begin with "ADRUM" (without quotes). How can i proceed…
Ludovic LACHEVRE
  • 111
  • 2
  • 13
-2
votes
2 answers

Is it possible to check if user admin with htaccess

I would like to send no-cache headers if user is admin like current_user_can('administrator') So browser will not cache some resurces. (In order to prevent ctrl + f5 everytime) Near solutions also welcome. During seaching I found that RewriteCond…
Deniz Porsuk
  • 492
  • 1
  • 6
  • 20
1 2 3 4 5 6 7
8