You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Differentiated Software Solutions Pvt. Ltd" <di...@vsnl.com> on 2000/09/04 15:43:15 UTC

internal_redirect

Hi,

    The following code is not working.

use Apache;

Apache->Request->internal_redirect('http://192.168.1.2/smg/html/adcept_logo.gif');

The error is:

Can't locate object method "Request" via package "Apache" at ./test.cgi line 5.

Thanks for your solution.

Bye
Muthu S Ganesh



Differentiated Software Solutions Pvt. Ltd.
176, Ground Floor, 6th Main,
2nd Block, RT Nagar
Bangalore - 560032
Phone : 91 80 3431470
www.diffs-india.com

Re: internal_redirect

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
diffs@vsnl.com (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/adcept_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->...


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum