On 03/20/17 14:03, Paul Irofti wrote: > Hi, > > I think both the readme and the apache configuration need an update. > There are more things to enable before phpmyadmin can work and > restricting local access is done differently since apache 2.4. OK? > Sure, go for it. I do not use Apache since $ages. Giovanni
> Paul > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/www/phpmyadmin/Makefile,v > retrieving revision 1.128 > diff -u -p -u -p -r1.128 Makefile > --- Makefile 1 Feb 2017 08:52:36 -0000 1.128 > +++ Makefile 20 Mar 2017 13:00:01 -0000 > @@ -3,6 +3,7 @@ > COMMENT= tool to handle the administration of MySQL over the web > > V= 4.6.6 > +REVISION= 0 > > PKGNAME= phpMyAdmin-$V > DISTNAME= phpMyAdmin-$V-all-languages > Index: files/phpMyAdmin-httpd.conf > =================================================================== > RCS file: /cvs/ports/www/phpmyadmin/files/phpMyAdmin-httpd.conf,v > retrieving revision 1.2 > diff -u -p -u -p -r1.2 phpMyAdmin-httpd.conf > --- files/phpMyAdmin-httpd.conf 18 Jan 2013 15:17:43 -0000 1.2 > +++ files/phpMyAdmin-httpd.conf 20 Mar 2017 13:00:01 -0000 > @@ -29,7 +29,5 @@ Alias /phpMyAdmin ${INSTDIR} > AllowOverride All > > # Default to only permitting access from localhost. > - Order deny,allow > - Deny from all > - Allow from 127.0.0.1 > + Require local > </Directory> > Index: pkg/README > =================================================================== > RCS file: /cvs/ports/www/phpmyadmin/pkg/README,v > retrieving revision 1.5 > diff -u -p -u -p -r1.5 README > --- pkg/README 1 Sep 2016 15:23:55 -0000 1.5 > +++ pkg/README 20 Mar 2017 13:00:01 -0000 > @@ -7,9 +7,11 @@ $OpenBSD: README,v 1.5 2016/09/01 15:23: > phpMyAdmin has been installed into ${INSTDIR}. > > If using Apache, you can make this accessible to clients by enabling > -the configuration file: > +mod_rewrite in ${SYSCONFDIR}/apache2/httpd2.conf, the mysql php module, > +and the configuration file: > > # ln -s ../modules.sample/phpmyadmin.conf /var/www/conf/modules/ > + # cp /etc/php-5.6.sample/mysqli.ini /etc/php-5.6/ > # /etc/rc.d/apache2 restart > > By default, this sets an alias for /phpMyAdmin and restricts access >