Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.