Bug 98045

Summary: [PATCH]: [PHPMYADMIN] post-installation example for adding alias to httpd.conf causes syntax error when starting httpd
Product: Ports & Packages Reporter: Brian Gourlie <bgourlie>
Component: Individual Port(s)Assignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Brian Gourlie 2006-05-28 06:30:17 UTC
The post-installation notes following the installation of phpmyadmin give an example for adding a phpmyadmin alias to the httpd.conf.  See post-installing output:

To make phpMyAdmin available through your web site, I suggest
that you add something like the following to httpd.conf:

    Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"

    <Directory "/usr/local/www/phpMyAdmin/">
        Options none
        AllowOverride Limit

        Order Deny, Allow
        Deny from all
        Allow from 127.0.0.1 .example.com
    </Directory>


This example will cause a syntax error when starting httpd, because of the following line:

        Order Deny, Allow

The whitespace between "Deny, Allow" causes the syntax error, httpd prompting the user that it is not a valid argument for the "Order" directive.

Fix: 

Change the line in the example from:

        Order Deny, Allow

To:

        Order Deny,Allow
How-To-Repeat: Install phpmyadmin from the ports directory
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2006-05-28 08:50:27 UTC
Responsible Changed
From-To: freebsd-www->freebsd-port-bugs

Alter the synopsis a bit and assign the PR to the correct group 
the www group is not for port related issues but for website 
related issues.
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2006-05-28 09:17:30 UTC
Responsible Changed
From-To: freebsd-port-bugs->freebsd-ports-bugs

Correct assignee ( i always forget the correct group ).
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-05-28 13:13:27 UTC
Dear maintainer of FreeBSD port databases/phpmyadmin, please take a look
at

http://www.freebsd.org/cgi/query-pr.cgi?q=98045

Do you approve this change?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

The Phase Spider. A spider that never seems quite there.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2006-05-28 13:13:30 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval 


Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2006-05-28 13:13:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2006-05-28 15:20:31 UTC
State Changed
From-To: feedback->open

From posting to freebsd-ports-bugs: 

Port maintainer approves.  Please commit. 

Cheers, 

Matthew 


-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
Comment 7 Pav Lucistnik freebsd_committer freebsd_triage 2006-05-28 16:03:19 UTC
State Changed
From-To: open->closed

Committed, thanks!