Skip Menu |

This queue is for tickets about the Pod-POM-Web CPAN distribution.

Report information
The Basics
Id: 95075
Status: resolved
Priority: 0/
Queue: Pod-POM-Web

People
Owner: Nobody in particular
Requestors: FANY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.19
Fixed in: (no value)



Subject: Installation as CGI script does not work.
Hi, when I try to install Pod::POM::Web as a CGI script as described in its documentation (cmp. https://metacpan.org/pod/Pod::POM::Web#As-a-cgi-bin-script), it does not work as expected, since /cgi-bin/perldoc emits a HTML page with a frameset referencing … <frame name="tocFrame" src="toc"> <frame name="contentFrame" src="perl"> …, e. g. pointing to /cgi-bin/toc and /cgi-bin/perl, but these URLs do not exist. The frame sources should probably be "./toc" respectively "./perl", i. e. /cgi-bin/perldoc/toc and /cgi-bin/perldoc/perl. Workaround for now: Redirect /cgi-bin/perl /cgi-bin/perldoc/perl Redirect /cgi-bin/toc /cgi-bin/perldoc/toc Kind regards, Martin
Subject: Re: [rt.cpan.org #95075] Installation as CGI script does not work.
Date: Sat, 26 Apr 2014 22:23:41 +0200
To: bug-Pod-POM-Web [...] rt.cpan.org
From: Laurent Dami <laurent.dami [...] free.fr>
Le 26.04.2014 21:16, FANY via RT a écrit : Show quoted text
> Sat Apr 26 15:16:44 2014: Request 95075 was acted upon. > Transaction: Ticket created by FANY > Queue: Pod-POM-Web > Subject: Installation as CGI script does not work. > Broken in: 1.19 > Severity: Normal > Owner: Nobody > Requestors: FANY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=95075 > > > > Hi, > > when I try to install Pod::POM::Web as a CGI script as described in its documentation (cmp. https://metacpan.org/pod/Pod::POM::Web#As-a-cgi-bin-script), it does not work as expected, since /cgi-bin/perldoc emits a HTML page with a frameset referencing … > > <frame name="tocFrame" src="toc"> > <frame name="contentFrame" src="perl"> > > …, e. g. pointing to /cgi-bin/toc and /cgi-bin/perl, but these URLs do not exist. > The frame sources should probably be "./toc" respectively "./perl", i. e. /cgi-bin/perldoc/toc and /cgi-bin/perldoc/perl. > > Workaround for now: > > Redirect /cgi-bin/perl /cgi-bin/perldoc/perl > Redirect /cgi-bin/toc /cgi-bin/perldoc/toc > > Kind regards, > Martin
Hi Martin, Thanks for the report. I agree it's a bug, but as a workaround , try to put a trailing slash in the initial URL (i.e. /cgi-bin/perldoc/); this should solve the problem. Cheers, Laurent Dami.
Subject: Re: [rt.cpan.org #95075] Installation as CGI script does not work.
Date: Sat, 26 Apr 2014 22:34:32 +0200
To: "laurent.dami [...] free.fr via RT" <bug-Pod-POM-Web [...] rt.cpan.org>
From: "Martin H. Sluka" <martin [...] sluka.de>
Hi Laurent, first of all thank you for your quick answer! Show quoted text
> I agree it's a bug, but as a workaround , try to put a trailing slash in > the initial URL (i.e. /cgi-bin/perldoc/); this should solve the problem.
Thanks for the tip! Indeed, this is a good solution. So maybe you just have to change the URL in the POD. :-) Cheers, Martin -- ___________________________________________ _ Martin H. Sluka \ mailto:martin@sluka.de / ASCII ribbon ( ) Breite Straße 3 \ tel +49-700-19751024 / campaign - against X D-90552 Röthenbach \-- http://unf.ug ---/ HTML email & vcards / \
Download signature.asc
application/pgp-signature 308b

Message body not shown because it is not plain text.

RT-Send-CC: SPACEBAT [...] cpan.org
Le Sam 26 Avr 2014 15:16:44, FANY a écrit : Show quoted text
> Hi, > > when I try to install Pod::POM::Web as a CGI script as described in > its documentation (cmp. https://metacpan.org/pod/Pod::POM::Web#As-a- > cgi-bin-script), it does not work as expected,
Actually, this problem was already reported by Andrew Kirkpatrick (see https://github.com/damil/Pod-POM-Web/issues/1), but I had forgotten to release the fix. Now fixed in version 1.20.