httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
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
<allassopraise@gmail.com> 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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message