Re: [mp2] API questions.

2004-11-05 Thread Ruslan U. Zakirov
THanks. All suggestions works well. Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello. 1) I can't find how to get string that represent initial request location. I mean 'http://www.example.com/foo...'. Is it possible? Now, I use next code as workaround: my $location = $r->dir_config

Re: [mp2] API questions.

2004-11-04 Thread Stas Bekman
Ruslan U. Zakirov wrote: Hello. 1) I can't find how to get string that represent initial request location. I mean 'http://www.example.com/foo...'. Is it possible? Now, I use next code as workaround: my $location = $r->dir_config( 'ServerName' ); unless( $location ) {

[mp2] API questions.

2004-11-04 Thread Ruslan U. Zakirov
Hello. 1) I can't find how to get string that represent initial request location. I mean 'http://www.example.com/foo...'. Is it possible? Now, I use next code as workaround: my $location = $r->dir_config( 'ServerName' ); unless( $location ) { $location = 'http://'. join ':'