On Thu, Mar 25, 2010 at 12:29 PM, Carsten Agger <agger@...> wrote:
> tor, 25 03 2010 kl. 09:42 -0500, skrev Steve Schwarz:
>
> >
> > Here's how you can check the versions (assuming you have shell access)
> > and here is what my server reports:
> >
> > > perl -MCGI -e 'print "$CGI::VERSION\n"'
> > 3.15
> > > perl --version
> >
> > This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
> > <snip>
> >
> > With this you've just exhausted my thoughts of what could be wrong...
> > Steve
>
> Thanks.
>
> But as I wrote earlier, self_url is not a documented way of getting the
> current URL, but of getting the URL of the CGI script. When running
> through Apache's rewrite engine, I suppose the result of such a function
> is undefined, and I don't think the "new" beaviour, which breaks the
> moreentries plugin, is necessarily any worse than the "old" one which
> didn't.
>
> I think this is a more correct way of getting the current URL:
>
> > my $url = "$blosxom::url/$blosxom::path_info";
> >
>
> This actually solves the problem.
>
> Now, the next question is: Can anyone think of a reason not to do it
> that way, and if not, how do I propose it for a patch to the plugin?
>
> br
> Carsten
>
I branched my version of Jason Clark's original plugin to provide images and
multiple page links back in 2004:
http://tech.agilitynerd.com/blog/web/blogging/blosxom/moreentries_mods.html
My version is at 0.3, you could check Jason's blog to see if he has made any
improvements on the original version.
Otherwise feel free to create a new version and make it available with this
change if you like. I'm no longer maintaining mine, I've further modified it
specifically for my blog.
Best Regards,
Steve
|