Re: redirect within module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 11, 2013 at 12:01 PM, Allasso Travesser
<allassopraise@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux