Flame has asked for the wisdom of the Perl Monks concerning the following question:
This question is not strictly Perl related as far as I know, but I don't know who else to turn to. Also, as far as I know, this question has already been answered, if so, I'm sorry but I wasn't able to find it.
I am attempting to use HTML::Mason on a school project, however I don't have acess to mod_perl (can't seem to get it to install on Win32), so I'm falling back on HTML::Mason::CGIHandler. The problem is that while I have followed the instructions in the CGIHandler docs, it doesn't seem to be using the handler script. Below is any information I think may be important... I don't know what else to try since I don't work directaly with Apache too often.
Running Win32 (Win98SE), I'm not sure of the apache version ATM. I'll post it when I get home (posting from school)
Action html-mason /cgi-bin/mason_handler.cgi placed into httpd.conf
Placed into .htaccess
<FilesMatch "\.html$"> SetHandler html-mason </FilesMatch>
#!perl use HTML::Mason::CGIHandler; warn("Used CGIHandler!"); my $h = new HTML::Mason::CGIHandler ( allow_globals => [qw(%session $u)], ); $h->handle_request;
The warning in the above code never shows up, so I have to guess for now that the problem lies with Apache, but what did I do wrong?
Thanks in advance
My code doesn't have bugs, it just develops random features.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache and HTML::Mason::CGIHandler, Not being called?
by rdfield (Priest) on Oct 30, 2002 at 15:24 UTC | |
by Flame (Deacon) on Oct 30, 2002 at 20:34 UTC | |
by rdfield (Priest) on Oct 31, 2002 at 09:28 UTC | |
by Flame (Deacon) on Oct 31, 2002 at 23:15 UTC | |
by Flame (Deacon) on Oct 31, 2002 at 23:38 UTC | |
by rdfield (Priest) on Nov 01, 2002 at 09:20 UTC | |
|