Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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]
[Discipulus]: such tests are intended for modules, as far as i know

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-01-24 12:46 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (204 votes). Check out past polls.