in reply to Re: Apache and HTML::Mason::CGIHandler, Not being called?
in thread Apache and HTML::Mason::CGIHandler, Not being called?
Sit down, this could take a while as I'm not quite sure how to explain the problems I've had with mod_perl :)
I have tried their PPM method of installation to no avail... while I get all the Apache perl modules, mod_perl itself never installs (I followed their instructions down to a copy-paste.) I attempted to manualy build my own, only to discover that MS-VC++ can't do what MS-DevStuido can, so I can't build it myself. Thus, I had to give up on mod_perl (unless I overlooked an option).
So, HTML::Mason has a module designed to simulate mod_perl, HTML::Mason::CGIHandler, which you can supposedly tell Apache to use instead of referencing the file itself... the problem is, it's still referencing the file itself. Ie: http://localhost.com/School/test.html
htdocs/School/test.html contains: <% 1+1 %>If mason reads it, it should come out 2, with nothing else. Just 2. Instead I get <% 1+1 %> printed out. So... something is going wrong somewhere along the line. (That .htaccess file is also in htdocs/School)
Also, I do have the latest version of ActivePerl, though I haven't attempted to install mod_perl since a couple minor revisions ago (circa February release, attempted install only a week ago) The cgi directory is the default, and the one that the installer setup automaticaly.
I hope this clears a few things up, anything else I should provide?
Thanks for the suggestions.My code doesn't have bugs, it just develops random features.
Flame ~ Lead Programmer: GMS | GMS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Apache and HTML::Mason::CGIHandler, Not being called?
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 | |
by Flame (Deacon) on Nov 01, 2002 at 12:58 UTC | |
by rdfield (Priest) on Nov 01, 2002 at 14:16 UTC | |
|