Re: RewriteMap question

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

 



On Thu, 5 Jun 2008 15:30:25 +0200
"Krist van Besien" <krist.vanbesien@xxxxxxxxx> wrote:

> > 2. I see a script on the doc page to create a dbm map using perl -
> > know of any php equiv?  google's not showing anything.  I have
> > nothing against perl, just looking to keep everything in the same
> > software.
> 
> dbm is a standard. There might indeed be a php library to produce
> these.

I notice apache 2.2 has a nice utility for converting text to dbm.
It supports GDBM, SDBM, NDBM and berkely DB.  Is there any
performance differences between those?

> > 3. The text file format appears to use spaces to separate the map
> > items.  If either of these contains a space assume can URL encode?
> > E.g.
> 
> It doesn't have to be. It all depends on what input the script you
> use to create the dbm map expects.

Ah, I see that now in the script txt2dbm.pl on the website.
 
$DB{$1} = $2 if (/^\s*(\S+)\s+(\S+)/);

Thanks,

Josh

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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