I have placed that files in C:\Perl\site\lib\Apache2\Hello.pm
but still it gives the error..
On Mon, Apr 13, 2009 at 10:33 PM, Randy Kobes wrote:
> On Mon, Apr 13, 2009 at 11:57 AM, sandhya pawar
> wrote:
> > File does not exist: C:/Program Files/Apache Software
> > Foundation/Apache2.2/htdocs/
On Mon, Apr 13, 2009 at 11:57 AM, sandhya pawar
wrote:
> File does not exist: C:/Program Files/Apache Software
> Foundation/Apache2.2/htdocs/hello.pm
> It gives the above error?
Hello.pm (containing Apache2::Hello) should be placed within your Perl
directory (eg, C:\Perl\site\lib\Apache2\Hello.pm
File does not exist: C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs/hello.pm
It gives the above error?
On Fri, Apr 10, 2009 at 10:57 PM, Randy Kobes wrote:
> On Thu, Apr 9, 2009 at 2:53 AM, sandhya pawar
> wrote:
>
> > On Thu, Apr 9, 2009 at 10:12 AM, Jeff Soules wrote:
> >>
>
On Thu, Apr 9, 2009 at 2:53 AM, sandhya pawar wrote:
> On Thu, Apr 9, 2009 at 10:12 AM, Jeff Soules wrote:
>>
>> > and put the following lines in C:\Program Files\Apache Software
>> > Foundation\Apache2.2\conf\httpd.conf
>> >
>> > PerlModule Apache2::Hello
>> >
>> > SetHandler modperl
>>
It is the typo in my email..
On Thu, Apr 9, 2009 at 10:12 AM, Jeff Soules wrote:
> > and put the following lines in C:\Program Files\Apache Software
> > Foundation\Apache2.2\conf\httpd.conf
> >
> > PerlModule Apache2::Hello
> >
> > SetHandler modperl
> > PerlResponseHandler Apache2:
> and put the following lines in C:\Program Files\Apache Software
> Foundation\Apache2.2\conf\httpd.conf
>
> PerlModule Apache2::Hello
>
> SetHandler modperl
> PerlResponseHandler Apache2::Hello
>
>
>
>
> but http://localhost/hellp It gives HTTP 404 Not Found error.
Just to take care
I installed and configured mod_perl2.0004 successfully.
To test that, I wrote one Hello.pm prg as per document and saved it
C:\Perl\site\lib\Apache2\
package Apache2::Hello;
use strict;
use Apache2::RequestRec (); # for $r->content_type
use Apache2::RequestIO (); # for $r->puts
use Ap