Jump to content

mod_headers and Authorization


mudkumpf

Recommended Posts

Hi

 

I'm trying to use mod_headers to set the authorization header of a request.

 

It's a convoluted situation, but I can't set that header browser-side (it's a flash movie making the call, and adobe just locked that down).

 

What I'd like to do is set a different header in flash, and have mod_headers set the authorization header.

 

I've tried using

 

RequestHeader set Authorization "BASIC xxxxxxxxxxxx"

 

as a test using a hard coded string, but it seems like the Authorization module is firing before the mod_headers. I've tried re-ordering the modules in httpd.conf, but it doesn't seem to make a difference.

 

I'm using Apache 2.2.4

 

Is it possible to change the name of the header where Apache expects to find the Auth info? I'm guessing not as it's probably wrapped up in the HTTP Specifications.

 

Any help or pointers would be greatly appreciated.

 

Many thanks

 

Kieran

Link to comment
https://forums.phpfreaks.com/topic/93313-mod_headers-and-authorization/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.