-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I ran into the same problem this afternoon.

For one quick fix, spelling out /mason_example/index.html seems to work.

For a more substantial cure, I found that specifying the extensions
of the files that should be served using mod_perl helps. I attach a patch,
to be applied to /etc/apache2/conf.d/libhtml-mason-perl-examples.conf ,
that has been working for me.

Finally, I found
https://issues.apache.org/bugzilla/show_bug.cgi?id=25435
which gives background information to our problem.

Regards, and thank you for providing fine software,

Andreas
- --
andreas.krue...@famsik.de
PGP-Schlüssel 0xA207E340 (http://blackhole.pca.dfn.de/)
Fingerprint B46B C7BA FFEE AD41 35DD  49C3 9D6A E529 A207 E340

- --- libhtml-mason-perl-examples.conf.ori      2009-01-02 17:28:59.000000000 
+0100
+++ libhtml-mason-perl-examples.conf    2009-01-02 21:51:02.000000000 +0100
@@ -3,10 +3,12 @@
 <IfModule mod_perl.c>
     PerlModule CGI::Cookie
     <Directory /var/www/mason_example>
- -        SetHandler perl-script
- -        PerlResponsehandler HTML::Mason::ApacheHandler
- -        PerlSetVar MasonArgsMethod CGI
- -        # CGI was previously required for Mason to work in Apache2
+        <FilesMatch "\.html$">
+           SetHandler perl-script
+           PerlResponsehandler HTML::Mason::ApacheHandler
+           PerlSetVar MasonArgsMethod CGI
+           # CGI was previously required for Mason to work in Apache2
+        </FilesMatch>
     </Directory>



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJXn6RnWrlKaIH40ARAl00AJwK8SVvLi/YJg4Vg/hqSqEFOvRDXwCdEUcC
cM8aANv6FUEHKb8kQ0Ghr+Y=
=VWBU
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to