Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Apache::Request causing Mason to fail.

by thunders (Priest)
on Sep 16, 2003 at 21:48 UTC ( #291972=note: print w/replies, xml ) Need Help??

in reply to Apache::Request causing Mason to fail.

Well I discovered the source of the error and, it's pretty dumb on my part. But maybe someone will ask this question again so here goes...

Mandrake runs two Apache servers at once, a regular one on port 80, and a mod_perl enabled one on port 8200.

To use mod_perl dependent programs i'd need to call the script as http://hostname:8200/test.mhtml with my original config, or alternatively configure it under /var/www/perl which is set up to automatically calls the mod_perl enabled httpd-perl at http://hostname/perl/mason/test.mhtml

I used this config in commonhttpd.conf

<IfModule mod_perl.c> AddType text/html .mhtml PerlSetVar MasonCompRoot /var/www/perl/mason PerlSetVar MasonDataDir /var/www/mason-data <FilesMatch "\.mhtml$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler </FilesMatch> </IfModule>

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://291972]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-06-26 12:33 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (580 votes). Check out past polls.