[prev in list] [next in list] [prev in thread] [next in thread]
List: mason
Subject: Re: [Mason] "Attempt to serve directory" error under mod_perl 2.0
From: Barry Hoggard <barry () tristanmedia ! com>
Date: 2005-02-11 17:10:14
Message-ID: f3eda406154bebc25d7c7849d9d47495 () tristanmedia ! com
[Download RAW message or body]
On Feb 11, 2005, at 11:22 AM, Paolo Campanella wrote:
> I experienced the same symptoms as you without a dhandler being
> involved. Here's a stripped-down version of (the ugly kludge that)
> works
> fine for me (mp 2.0.46; Mason 1.28):
>
> <VirtualHost x.x.x.x:yyyy>
> ServerName your.host.name
>
> RewriteEngine On
> RewriteRule /$ / [L]
> RewriteRule /(.*)/$ /$1/ [L]
>
> <Directory /home/httpd/whatever>
> SetHandler perl-script
> PerlHandler HTML::Mason::ApacheHandler
> # In reality I use a a custom handler, but I doubt there's anything
> # in there that makes a difference:
> # PerlResponseHandler MyApp::Mason
> DefaultType "text/html"
> </Directory>
> </VirtualHost>
Thanks -- that works! It's interesting that Directory can be used, but
not Location.
Barry
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic