I use FilesMatch in my .htaccess.

[snip]

#Define the html-mason handler (server root relative)
Action html-mason /somewhere/masonhandler.pl

#Public
<FilesMatch "\.mhtml$">
   Options +ExecCGI
   SetHandler html-mason
</FilesMatch>

#Private
<FilesMatch ".mas$">
    Order allow,deny
    Deny from all
</FilesMatch>

[/snip]

RJ

BP Jonsson wrote:

>I have followed the instructions for setting up Mason
>in a CGI environment on a shared server found at
><http://www.masonhq.com/docs/manual/CGIHandler.html>.
>
>However I get an error message:
>
>"[alert] [client xxx] /home/account/public_html/.htaccess: 
><LocationMatch not allowed here"
>
>The host admin thinks it is a cgi-error, but I'm more inclined
>to think it has to do with what directives are allowed in
>.htaccess files as described at
><http://httpd.apache.org/docs/1.3/howto/htaccess.html#what>
>It seems there should be an AllowOverride directive somewhere,
>but where? And what should it look like?  Can I fix this
>problem or do I have to have the host admin do it?
>
>I'm aware this may be primarily an Apache question.  I have
>unsuccessfully looked around for an answer, but I don't really
>know how to formulate the question, and this is obviously
>important in order to get Mason to run under cgi, so I ask
>your forgiveness and hope somebody has some advice.
>
>/BP
>
>
>_______________________________________________
>Mason-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/mason-users
>
>  
>



_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to