Subject: | css pb with firefox and builtin webserver |
Date: | Wed, 30 May 2007 17:58:31 +0200 |
To: | bug-pod-pom-web [...] rt.cpan.org |
From: | Rémi Pauchet <remi.pauchet [...] netasq.com> |
Hi
I've just installed Pod::POM::Web and i get problem with firefox and the
css/js display with the builtin webserver.
The pages were displayed whithout the style (Syntax coloring, etc...)
and without the clickable menu.
I tried firefox 1.5, firefox 2.0, with always this problem and at last I
try IE7 and it works !
With firebug I saw that the css was downloaded but not used.
After some tests I manage to temporarily fix it :
I edit the Web.pm and comment the following line in send_content sub :
$mime_type .= "; charset=$charset" if $charset;
which add the header charset ascii. Without the charset header, firefox
loads and display styles.
There seems that firefox doesn't like the ascii charset for stylesheets.
I also have a question / feature request :
I want to use Pod::POM::Web to display help of my app's modules and not
the system perl help.
At first, added my libraries path to @INC and I can browse in the
modules node.
Is it possible to generate pages and a reduce index for a specific paths
whitout taking @INC ?
Thanks for your support.
--
Rémi Pauchet