| Andy Buckley 2006-05-25, 1:25 am |
| Hi,
Not *exactly* configuration, but definitely an Apache 2 issue, so here
goes...
I've got an HTML output filter defined via mod_ext_filter, which puts,
among other things, a site-wide navigation bar at the top of each page
on the site. I'm adding a drop-down list of sub-sites to this bar and
would like to have the form submit handler redirect the browser to the
appropriate sub-site. Rather than have an external CGI or similar to
handle the redirect, I'd like to build this into the filter, so that it
redirects itself if a query string variable is defined.
However, the HTTP headers are separated from the filter input before
processing, so simply writing a "Location: /foo\n\n" line at the head
of the filter output doesn't produce the desired redirect. Is there
some way that I can use the filter to affect the HTTP headers, or will
I have to resort to the less elegant external CGI method to do the
redirect?
Thanks,
Andy
|