I tried  "Header edit Location ^http:// https://"; but it isn't making
the changes. I also tried the following:

Header always edit Location ^http:// https://
Header always edit Location http:// https://

My location header is still being returned as http not https. I am using
Apache 2.2.4 so I have the edit option. Any other thoughts?

Thanks,

Kevin

-----Original Message-----
From: Nick Kew [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 7:12 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Using mod_headers to modify an existing
header

On Mon, 16 Jul 2007 22:11:28 -0400
"Joshua Slive" <[EMAIL PROTECTED]> wrote:

> I doubt that mod_headers is going to be able to modify Location.

Header edit Location ^http:// https://

(haven't checked gotchas with that)

> However, although I haven't tried it, you might be able to fix this
> with the (unfortunately undocumented) Protocol directive:
> 
> ServerName host1.domain.com:443
> Protocol https
> UseCanonicalName On

If these are server-generated Location headers, that is indeed
preferable.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to