Tom Schindl wrote:
> Hi,
> 
> no I wouldn't downgrade to mp1 because Apache2.x is the future and
> someday Apache1.x will not be maintained any more.

wow, really?

:)

> I'd try to contact
> the maintainer of Apache::SessionManager which is as it looks not
> prepared to work with mp2. You can also hack it yourself using the guide
> provided at http://perl.apache.org/docs/2.0/rename.html

just to be clear to the original poster, given this original error:

>>I get the error "Can't locate Apache/Const.pm " when Apache tries to load 
>>SessionManager.

it looks like Apache::SessionManager is stuck on a pre-official-2.0 mp2
release.  using apache 1.3/mp1 will "solve" your problem as far as this
particular module goes, but it's necessarily the easiest path to follow.

as tom suggested, to use this module you'll need to use the rename link
above as a guide to a full port.  for the most part, the change looks to be
pretty simple - look for "MP2" in the code and change Apache:: to Apache2::
following the rename.html guidelines.  Apache::REDIRECT and Apache::DECLINED
will become Apache2::Const::REDIRECT and Apache2::Const::DECLINED.  and
don't change Apache::Cookie ;)

anyway, that should help get you on the proper path.

HTH

--Geoff

Reply via email to