httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suneet Shah <suneetshah2...@gmail.com>
Subject Re: Question about Setting Request Headers and Mod-Headers
Date Sun, 11 Sep 2011 13:39:48 GMT
Thanks for the suggestions, Nik

Regards
Suneet



On Sun, Sep 11, 2011 at 4:37 AM, Nick Kew <niq@apache.org> wrote:

>
> On 11 Sep 2011, at 06:36, Suneet Shah wrote:
>
> > Hello,
> >
> > I am new to creating apache modules.  I need to create a module very
> similar
> > to mod_headers where I need to add headers to a request. However, instead
> of
> > getting the headers from a config file I need to get it the details from
> my
> > database.
>
> Are you sure you need a new module?  mod_rewrite can set headers for you,
> and RewriteMap can get them from a database.
>
> If you are writing a new module, you could look at how that works.
> Also, be sure to check out mod_dbd for how to access SQL databases
> more generally.
>
> --
> Nick Kew

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message