Help on Apache Request

Discussion in 'Apache' started by comingme, Jan 5, 2010.

  1. #1
    #!/usr/bin/perl5
    use Apache ();
    use Apache::Request ();
    my $apr = Apache::Request->new($r);

    The installation seems fine. Apache runs ok. But the above apache::request seems not working. It gives the following ERROR:
    Can't locate object method "new" via package "Apache::Request" at ApacheRelated.cgi line 6.

    Could anyone help me?
    Thanks.
     
    comingme, Jan 5, 2010 IP