mudkumpf Posted February 27, 2008 Share Posted February 27, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/93313-mod_headers-and-authorization/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.