--On 09/05/00 01:23:04 -0500 Ken Williams <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote:
>> Hi,
>>
>> The following code is not working.
>>
>> use Apache;
>>
>> Apache->Request->internal_redirect('http://192.168.1.2/smg/html/adce
>> pt_logo.gif');
>>
>> The error is:
>>
>> Can't locate object method "Request" via package "Apache" at
>> ./test.cgi line 5.
>
> It's a lowercase 'r'. Apache->request->...
That's only half the problem. Internal redirects are just that. They
don't include http://server-name. They are always internal to the
server immediate server.
Apache->request->internal_redirect('/smg/html/adcept_logo.gif'); is
correct form. But if 192.168.1.2 isn't this server, than a full
redirect is required.
-- Rob
_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
Rob Tanner
McMinnville, Oregon
[EMAIL PROTECTED]