httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] redirect within module?
Date Wed, 11 Dec 2013 17:26:35 GMT
On Wed, Dec 11, 2013 at 12:01 PM, Allasso Travesser
<> wrote:
> Hello,
> From within a module, I would like to redirect the user to a certain file on disk if
certain conditions are met.  Is there a straightforward way to do this, without doing something
like, apr_file_open -> ap_send_fd?

If you can run in translate_name, just do what mod_alias does.
If you have to run as a handler, maybe look at how mod_rewrite does
its internal redirect.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message