Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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>


Comment on Re: Apache::Request causing Mason to fail.
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://291972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-07-28 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (193 votes), past polls