On 1/6/06, Paul Wallingford <[EMAIL PROTECTED]> wrote:
> On the masonhq website, there is a sample config for running mason as a
> pure CGI, not in mod_perl.  In the sample Apache config is this:
>
> <LocationMatch "^/cgi-bin/">
>    RemoveHandler .html
> </LocationMatch>
>
> I understand, technically, what the RemoveHandler directive does.  What
> is this for and what are the implications: 1) if I do nat have it, 2) if
> there are other non-mason CGI's that need to run from that directory?
>
The problem if you don't have it is primarily with CGI's that use
PATH_INFO.  If you have a CGI called 'foo' that gets arguments in path
info which appear to be html pages (such as
http://www.domain.com/cgi-bin/foo/some_page.html) and you don't have
the RemoveHandler entry, the URL will be handled by Mason, rather than
the CGI, because of the .html extension (assuming you map all your
.html extensions to Mason somewhere else in your configuration).

--
Jason Kohles
[EMAIL PROTECTED] - http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to