in reply to CPAN-Forum -- problem with "Use of uninitialized value"
Shlomi: The Forum uses cgiapp_prerun to set the mode according to the PATH_INFO instead of using a mode_param code-reference. This causes a lot of warnings in the logs, and doesn't really belong in cgiapp_prerun.Anyone care to venture a solution, or avenue I could travel to allow this to live one level deeper that the web site's document root -- how I might "pin" cpan-forum ahead of the current links? Thank you for all your time, and consideration. --chris
It cannot be hosted on a URL except for its own virtual host, as it uses absolute URLs. ("/login/", "/register/", etc.) A better idea would be to track the path that the web-server gives (it's in one of the environment variables) and then to construct a /cpan-forum/login/ /cpan-forum/register/ etc. path. (or use relative URLs).
#!/usr/bin/perl -Tw use perl::always; my $perl_version = "5.12.5"; print $perl_version;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CPAN-Forum -- problem with "Use of uninitialized value"
by taint (Chaplain) on Oct 02, 2013 at 00:38 UTC |