https://issues.apache.org/bugzilla/show_bug.cgi?id=47985

Eric Covener <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO

--- Comment #4 from Eric Covener <[email protected]> 2009-10-17 07:33:55 UTC ---
(In reply to comment #3)
> Well, either this is a doc bug or header simply does not comply to the spec.
> 
> As you have suggested, I added always as the condition.  The cache-control
> header is not added in.
> 

You'll need to add some more detail, as the following works for me:

<virtualhost *:80>
Header always add Cache-Control max-age=60
RedirectMatch 301 ^/$ http://localhost/other.html
</virtualhost>

$ wget -S http://localhost/
--2009-10-17 10:29:02--  http://localhost/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 301 Moved Permanently
  Date: Sat, 17 Oct 2009 14:29:02 GMT
  Server: IBM_HTTP_Server
  Cache-Control: max-age=60
  Location: http://localhost/other.html

Same for rewrite in per-vhost config and per-directory config.

Can you show your current configuration and a sample request/response against
that configuration that illustrates the bug?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to