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

Mailing List Archive: ModPerl: Docs-dev

Re: cvs commit: modperl-docs/src/docs/2.0/user/porting compat.pod

 

 

ModPerl docs-dev RSS feed   Index | Next | Previous | View Threaded


stas at stason

Jan 15, 2004, 12:02 PM

Post #1 of 3 (1491 views)
Permalink
Re: cvs commit: modperl-docs/src/docs/2.0/user/porting compat.pod

geoff [at] apache wrote:
> geoff 2004/01/15 06:33:40
>
> Modified: src/docs/2.0/api/Apache ServerUtil.pod
> src/docs/2.0/api/ModPerl RegistryLoader.pod
> src/docs/2.0/user/porting compat.pod
> Log:
> updates for server_root_relative()
>
> Revision Changes Path
> 1.8 +1 -1 modperl-docs/src/docs/2.0/api/Apache/ServerUtil.pod
>
> Index: ServerUtil.pod
> ===================================================================
> RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/ServerUtil.pod,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -r1.7 -r1.8
> --- ServerUtil.pod 14 Jan 2004 23:39:22 -0000 1.7
> +++ ServerUtil.pod 15 Jan 2004 14:33:40 -0000 1.8
> @@ -13,7 +13,7 @@
> my $srv_cfg = $s->dir_config;
>
> # get 'conf/' dir path using $r
> - my $conf_dir = $s->server_root_relative('conf', $r->pool);
> + my $conf_dir = $s->server_root_relative($r->pool, 'conf');

this doesn't look right, should it be:

my $conf_dir = $s->server_root_relative('conf');

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas [at] stason http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


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


geoff at modperlcookbook

Jan 15, 2004, 1:40 PM

Post #2 of 3 (1366 views)
Permalink
Re: cvs commit: modperl-docs/src/docs/2.0/user/porting compat.pod [In reply to]

# get 'conf/' dir path using $r
>> - my $conf_dir = $s->server_root_relative('conf', $r->pool);
>> + my $conf_dir = $s->server_root_relative($r->pool, 'conf');
>
>
> this doesn't look right, should it be:
>
> my $conf_dir = $s->server_root_relative('conf');

whoops, yeah - I saw that the args were mixed up, not where it was called from.

--Geoff


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


stas at stason

Jan 15, 2004, 4:40 PM

Post #3 of 3 (1352 views)
Permalink
Re: cvs commit: modperl-docs/src/docs/2.0/user/porting compat.pod [In reply to]

Geoffrey Young wrote:
> # get 'conf/' dir path using $r
>
>>> - my $conf_dir = $s->server_root_relative('conf', $r->pool);
>>> + my $conf_dir = $s->server_root_relative($r->pool, 'conf');
>>
>>
>>this doesn't look right, should it be:
>>
>> my $conf_dir = $s->server_root_relative('conf');
>
>
> whoops, yeah - I saw that the args were mixed up, not where it was called from.

Also now we need to copy/adjust this entry from Apache/ServerUtil to these two
man pages as well: Apache::Connection and Apache::RequestRec.

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas [at] stason http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


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

ModPerl docs-dev 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.