Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

DBDParams argument format

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


noodlet at gmail

Nov 28, 2009, 9:48 AM

Post #1 of 5 (731 views)
Permalink
DBDParams argument format

There is some confusion in the DBD docs about the format of the
argument to the DBDParams directive.

http://httpd.apache.org/docs/2.2/mod/mod_dbd.html#dbdparams
This suggests that arguments should be comma separated.

http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html#example
And this one uses spaces.

I've tested both formats and they both appear to work. The code in
apr-util/dbd for parsing the parameter is somewhat impenetrable to me
so before fixing up the docs, it would help to know which format
should be canonical.

Plz help ktnx.

--
noodl

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd


rbowen at rcbowen

Nov 28, 2009, 2:29 PM

Post #2 of 5 (656 views)
Permalink
Re: DBDParams argument format [In reply to]

If both work, then the canonical format should be spaces, not commas.
Making it commas would make it the odd duck among all of our
directives, and I'd prefer to avoid that.


On Nov 28, 2009, at 12:48 , Vincent Bray wrote:

> There is some confusion in the DBD docs about the format of the
> argument to the DBDParams directive.
>
> http://httpd.apache.org/docs/2.2/mod/mod_dbd.html#dbdparams
> This suggests that arguments should be comma separated.
>
> http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html#example
> And this one uses spaces.
>
> I've tested both formats and they both appear to work. The code in
> apr-util/dbd for parsing the parameter is somewhat impenetrable to me
> so before fixing up the docs, it would help to know which format
> should be canonical.
>
> Plz help ktnx.
>
> --
> noodl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe [at] httpd
> For additional commands, e-mail: docs-help [at] httpd
>

--
Rich Bowen
rbowen [at] rcbowen




---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd


noodlet at gmail

Nov 28, 2009, 3:02 PM

Post #3 of 5 (668 views)
Permalink
Re: DBDParams argument format [In reply to]

2009/11/28 Rich Bowen <rbowen [at] rcbowen>:
> If both work, then the canonical format should be spaces, not commas. Making
> it commas would make it the odd duck among all of our directives, and I'd
> prefer to avoid that.

To be clear, the spaced format argument must be quoted to be a single
argument. Is there a precedent for such a
multi-valued-single-parameter? I can't recall one.

--
noodl

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd


rbowen at rcbowen

Nov 28, 2009, 3:52 PM

Post #4 of 5 (656 views)
Permalink
Re: DBDParams argument format [In reply to]

On Nov 28, 2009, at 18:02 , Vincent Bray wrote:

> 2009/11/28 Rich Bowen <rbowen [at] rcbowen>:
>> If both work, then the canonical format should be spaces, not
>> commas. Making
>> it commas would make it the odd duck among all of our directives,
>> and I'd
>> prefer to avoid that.
>
> To be clear, the spaced format argument must be quoted to be a single
> argument. Is there a precedent for such a
> multi-valued-single-parameter? I can't recall one.

Nothing comes to mind. Except something like piped log handlers, where
the entire pipe command needs to be quoted, but that's not really the
same thing.

--
Rich Bowen
rbowen [at] rcbowen


i.galic at brainsware

Dec 3, 2009, 3:53 PM

Post #5 of 5 (635 views)
Permalink
Re: DBDParams argument format [In reply to]

If supplying multiple servers to an AuthLdapUrl then it needs to be quoted as well.
(As denoted in trunk: http://httpd.apache.org/docs/trunk/mod/mod_authnz_ldap.html#authldapurl
but not in 2.2, where it is valid as well.)

----- "Rich Bowen" <rbowen [at] rcbowen> wrote:

> On Nov 28, 2009, at 18:02 , Vincent Bray wrote:
>
>
> 2009/11/28 Rich Bowen < rbowen [at] rcbowen >:
>
>
> If both work, then the canonical format should be spaces, not commas.
> Making
>
>
> it commas would make it the odd duck among all of our directives, and
> I'd
>
>
> prefer to avoid that.
>
> To be clear, the spaced format argument must be quoted to be a single
> argument. Is there a precedent for such a
> multi-valued-single-parameter? I can't recall one.
>
> Nothing comes to mind. Except something like piped log handlers, where
> the entire pipe command needs to be quoted, but that's not really the
> same thing.
>
>
>
> --
> Rich Bowen
> rbowen [at] rcbowen

--
Igor Galić

Tel: +43 (0) 699 122 96 338
Fax: +43 (0) 1 90 89 226
Mail: i.galic [at] brainsware
URL: http://brainsware.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.