in reply to Apache2 Frustrations
There are a few things about mod_perl 2 that you should know. First and foremost: Apache::Request doesn't work with mod_perl 1.99 yet. You can directly use $r if you so wish. $r->hostname, $r->get_server_port, $r->uri, and $r->args can be very helpful if you wish to get the current URI. However, you'll need to add quite a bit of code to get the same functionality as either Apache::Request or CGI. You can use CGI as long as you use Apache::compat.
In all, I wouldn't suggest migrating to mod_perl 1.99 yet. The documentation is sparse and there are still a few bugs. Still checking out mod_perl 1.99_11 to see if some of my concerns are still there. I hope this helps you with your problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Apache2 Frustrations
by dragonchild (Archbishop) on Nov 21, 2003 at 20:45 UTC | |
by Arunbear (Prior) on Nov 21, 2003 at 22:01 UTC | |
by !1 (Hermit) on Nov 21, 2003 at 22:26 UTC | |
|
Re: Re: Apache2 Frustrations
by cees (Curate) on Nov 22, 2003 at 00:55 UTC | |
by !1 (Hermit) on Nov 22, 2003 at 02:45 UTC | |
by cees (Curate) on Nov 22, 2003 at 03:52 UTC |