Hallo,

I'm very sorry, but after searching for 3 days, I didn't find any working solution for my problem. I wish apache to let mason handle _any_ URL that comes in. This is my configuration:

------------------------------------------
Apache Server version: Apache/1.3.33 (Darwin)
Mason version: 1.33

Mason part in httpd.conf:
------------------------------------------
SetHandler perl-script
PerlModule HTML::Mason::ApacheHandler

<FilesMatch "(\.html|\.css)$">
   PerlSetVar MasonDeclineDirs 0
   SetHandler perl-script
   PerlSetVar MasonDataDir /usr/local/mason
   PerlSetVar MasonCompRoot /Library/WebServer/Documents
   PerlHandler HTML::Mason::ApacheHandler
</FilesMatch>

<FilesMatch "(\.mas|handler)$">
   SetHandler perl-script
   PerlModule  Apache::Constants
   PerlHandler "sub { return Apache::Constants::NOT_FOUND }"
</FilesMatch>
------------------------------------------

This configuration should lead to the expected behavior. But it works only partly. For missing FILES ist works well. I can use filenames of nonexisting files and Mason gets the request. But if I try to access nonexistign directories, Apache sends an error 404. Is there any solution? Can I configure apache to send each request to Mason, regardless of it's content?

Many thanks,
Manfred

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to