You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/08/04 04:25:10 UTC

cvs commit: apache-2.0/src/modules/standard config.m4

trawick     00/08/03 19:25:09

  Modified:    src/modules/standard config.m4
  Log:
  Disable the dbm_ usage in mod_rewrite so that it links.
  Still to do: decide at config time whether any modules need dbm, whether
               to use the native one or sdbm, etc.
  
  Revision  Changes    Path
  1.26      +5 -1      apache-2.0/src/modules/standard/config.m4
  
  Index: config.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/config.m4,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- config.m4	2000/06/27 20:25:46	1.25
  +++ config.m4	2000/08/04 02:25:08	1.26
  @@ -27,7 +27,11 @@
   APACHE_CHECK_STANDARD_MODULE(speling, correct common URL misspellings, , no)
   APACHE_CHECK_STANDARD_MODULE(userdir, mapping of user requests, , yes)
   APACHE_CHECK_STANDARD_MODULE(alias, translation of requests, , yes)
  -APACHE_CHECK_STANDARD_MODULE(rewrite, regex URL translation, , no)
  +
  +APACHE_CHECK_STANDARD_MODULE(rewrite, regex URL translation, , no, [
  +  EXTRA_CFLAGS="$EXTRA_CFLAGS -DNO_DBM_REWRITEMAP"
  +])
  +
   APACHE_CHECK_STANDARD_MODULE(access, host-based access control, , yes)
   APACHE_CHECK_STANDARD_MODULE(auth, user-based access control, , yes)
   APACHE_CHECK_STANDARD_MODULE(auth_anon, anonymous user access, , no)
  
  
  

Re: cvs commit: apache-2.0/src/modules/standard config.m4

Posted by Greg Stein <gs...@lyra.org>.
On Fri, Aug 04, 2000 at 08:19:53AM -0400, Jeff Trawick wrote:
> Greg Stein <gs...@lyra.org> writes:
> 
> > On Fri, Aug 04, 2000 at 02:25:10AM -0000, trawick@locus.apache.org wrote:
> > > trawick     00/08/03 19:25:09
> > > 
> > >   Modified:    src/modules/standard config.m4
> > >   Log:
> > >   Disable the dbm_ usage in mod_rewrite so that it links.
> > >   Still to do: decide at config time whether any modules need dbm, whether
> > >                to use the native one or sdbm, etc.
> > 
> > I am intending to write a set of utilities named ap_dbm_* to interact with
> > *DBM libraries. The first two that I'll code up will be SDBM and GDBM. (this
> > will be very close to modules/dav/fs/dbm.c rev 1.1)
> 
> Your pending work is a big reason why I didn't mess with it any
> further (though I didn't recall the exact details :) )  I did want
> mod_rewrite to at least link for A5 in hopes that the hypothetical
> alpha tester won't be discusted that it won't even build properly.

Right-O!


-- 
Greg Stein, http://www.lyra.org/

Re: cvs commit: apache-2.0/src/modules/standard config.m4

Posted by Jeff Trawick <tr...@bellsouth.net>.
Greg Stein <gs...@lyra.org> writes:

> On Fri, Aug 04, 2000 at 02:25:10AM -0000, trawick@locus.apache.org wrote:
> > trawick     00/08/03 19:25:09
> > 
> >   Modified:    src/modules/standard config.m4
> >   Log:
> >   Disable the dbm_ usage in mod_rewrite so that it links.
> >   Still to do: decide at config time whether any modules need dbm, whether
> >                to use the native one or sdbm, etc.
> 
> I am intending to write a set of utilities named ap_dbm_* to interact with
> *DBM libraries. The first two that I'll code up will be SDBM and GDBM. (this
> will be very close to modules/dav/fs/dbm.c rev 1.1)

Your pending work is a big reason why I didn't mess with it any
further (though I didn't recall the exact details :) )  I did want
mod_rewrite to at least link for A5 in hopes that the hypothetical
alpha tester won't be discusted that it won't even build properly.

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Re: cvs commit: apache-2.0/src/modules/standard config.m4

Posted by Jim Winstead <ji...@trainedmonkey.com>.
On Aug 04, Greg Stein wrote:
> I am intending to write a set of utilities named ap_dbm_* to interact with
> *DBM libraries. The first two that I'll code up will be SDBM and GDBM. (this
> will be very close to modules/dav/fs/dbm.c rev 1.1)
> 
> mod_rewrite could then be tweaked to use ap_dbm_* and not worry about the
> specific DBM underneath.

you should take a look at php's dba extension. it provides
this sort of abstraction. it also supports cdb, berkeley
db2 and db3, and plain-old ndbm and dbm.

sascha wrote it originally.

http://viewcvs.php.net/viewcvs.cgi/php4/ext/dba/

jim

Re: cvs commit: apache-2.0/src/modules/standard config.m4

Posted by Greg Stein <gs...@lyra.org>.
On Fri, Aug 04, 2000 at 02:25:10AM -0000, trawick@locus.apache.org wrote:
> trawick     00/08/03 19:25:09
> 
>   Modified:    src/modules/standard config.m4
>   Log:
>   Disable the dbm_ usage in mod_rewrite so that it links.
>   Still to do: decide at config time whether any modules need dbm, whether
>                to use the native one or sdbm, etc.

I am intending to write a set of utilities named ap_dbm_* to interact with
*DBM libraries. The first two that I'll code up will be SDBM and GDBM. (this
will be very close to modules/dav/fs/dbm.c rev 1.1)

mod_rewrite could then be tweaked to use ap_dbm_* and not worry about the
specific DBM underneath.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/