ports/65936: www/p5-HTML-Mason does not configure itself

Dan Pelleg daniel+gnats at pelleg.org
Sat Apr 24 20:10:08 UTC 2004


>Number:         65936
>Category:       ports
>Synopsis:       www/p5-HTML-Mason does not configure itself
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 24 13:10:07 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dan Pelleg
>Release:        FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD p 4.9-RC FreeBSD 4.9-RC #5: Fri Oct 10 13:41:08 EDT 2003 d at p i386


	
>Description:
The port does not work with Apache "out of the box". Manual configuration
is needed before it can process pages.
	
>How-To-Repeat:
 Install, try to write a mason-ified page.
	
>Fix:
1. The port should add a line to http.conf:
include etc/apache/mason.conf

2. Include a file mason.conf with the port. It can be of the form:
# Mason config
PerlModule HTML::Mason::ApacheHandler

PerlSetVar MasonDataDir "/var/mason"

<LocationMatch "\.mason$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>

3. mkdir /var/mason && chown www /var/mason

I'm willing to work on a detailed patch if there's interest.
Note that (2) makes the non-standard ".mason" suffix special. The
Mason docs show you how to have nearly every document be processed
by Mason. In my opinion this might surprise people with running websites,
which is why I suggest .mason.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list