[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modules
Subject:    [apache-modules] Calling my module no matter what...
From:       Richard Nairn <richardn () javien ! com>
Date:       2001-02-08 23:23:57
[Download RAW message or body]

Hi there,

I have installed a module, but I haven't set a handler for it, yet
it is still being called for ANY request to the server.

This is my module set up. I am trying to user access control via 
cookies. Is this the right method to be use?  I thought I still had
to use SetHandler to actually call it, since I want to put it in a 
specific <Location> tag... Any ideas??? I can tell it is being called 
via a fprintf to stderr, and I am getting a FORBIDDEN erro, no matter 
what I am calling.


module MODULE_VAR_EXPORT javien_module = {
     STANDARD_MODULE_STUFF,
     NULL,                  /* module initializer                  */
     make_cookie_dir,                  /* create per-dir    config 
structures */
     NULL,                  /* merge  per-dir    config structures */
     NULL,                  /* create per-server config structures */
     NULL,                  /* merge  per-server config structures */
     javien_cmds,                  /* table of config file commands       */
     NULL,       /* [#8] MIME-typed-dispatched handlers */
     NULL,                  /* [#1] URI to filename translation    */
     NULL,                  /* [#4] validate user id from request  */
     NULL,                  /* [#5] check if the user is ok _here_ */
     javien_auth,                  /* [#3] check access by host address   */
     NULL,                  /* [#6] determine MIME type            */
     NULL,                  /* [#7] pre-run fixups                 */
     NULL,                  /* [#9] log a transaction              */
     NULL,                  /* [#2] header parser                  */
     NULL,                  /* child_init                          */
     NULL,                  /* child_exit                          */
     NULL                   /* [#0] post read-request              */
#ifdef EAPI
    ,NULL,                  /* EAPI: add_module                    */
     NULL,                  /* EAPI: remove_module                 */
     NULL,                  /* EAPI: rewrite_command               */
     NULL                   /* EAPI: new_connection                */
#endif
};

--
----------------------------------------------------------------
Apache Modules Mailing List            669 currently subscribed
----------------------------------------------------------------

If you wish to be removed from this list, send the word
'unsubscribe' to: apache-modules-request@covalent.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic