LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-28-2004, 07:58 AM   #1
pmedes
LQ Newbie
 
Registered: Aug 2003
Location: Owatonna MN
Distribution: SuSE pro 9.1
Posts: 16

Rep: Reputation: 0
Question testing mod_perl


I tried the example module found on perl.apache.org in the "Getting Your Feet Wet",
the Rocks.pm. I saved the script to /srv/www/perl-lib/myApache/.
I am running Apache2 and mod_perl 2. my mod_perl_startup.pl
has the line "use lib qw(/srv/www/perl-lib/);".
My mod_perl.conf file contains the following:
<Location /rocks>
SetHandler perl-script
PerlResponseHandler myApache::Rocks
</Location>
So what happens if I restart Apache and change my browser
location to "http://localhost/rocks? I get a 500 error and
see the following in the log:
Failed to resolve handler myApache::Rocks.
I haven't been able to figure this one out!

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing mod_perl 1.29 jpan Linux - Software 0 11-03-2004 05:13 PM
Setup as getting debian testing files from ftp - will it stay with testing BrianHenderson Debian 2 09-02-2004 06:06 PM
mod_perl config flaxius Linux - Newbie 0 03-16-2004 02:52 AM
Apache and mod_perl TheCreator Linux - Software 0 12-21-2003 01:18 PM
mod_perl? ziggie216 Linux - Software 0 12-15-2003 06:17 PM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration