diff options
author | wen <wen@FreeBSD.org> | 2016-04-16 09:30:28 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2016-04-16 09:30:28 +0800 |
commit | 8d149734798bcc6dbc23a0a077e7942a10a03323 (patch) | |
tree | 3480005343fdd684efb5e400ffc666c466e2887b /www | |
parent | a2164258f0604d98549fd207af05af45a1f53c84 (diff) | |
download | freebsd-ports-gnome-8d149734798bcc6dbc23a0a077e7942a10a03323.tar.gz freebsd-ports-gnome-8d149734798bcc6dbc23a0a077e7942a10a03323.tar.zst freebsd-ports-gnome-8d149734798bcc6dbc23a0a077e7942a10a03323.zip |
- Update USE_PHP(add hash, dom and session, replace mysqli with pdo_mysql)
- Improve pkg-message(Add the configure for apache-2.4)
Diffstat (limited to 'www')
-rw-r--r-- | www/e107/Makefile | 3 | ||||
-rw-r--r-- | www/e107/files/pkg-message.in | 14 |
2 files changed, 14 insertions, 3 deletions
diff --git a/www/e107/Makefile b/www/e107/Makefile index 0102f6c43082..9b25fbb78f48 100644 --- a/www/e107/Makefile +++ b/www/e107/Makefile @@ -3,6 +3,7 @@ PORTNAME= e107 PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_full @@ -12,7 +13,7 @@ COMMENT= Content management system written in PHP USES= cpe -USE_PHP= mysqli xml exif +USE_PHP= dom exif hash pdo_mysql session xml WRKSRC= ${WRKDIR}/e107 NO_BUILD= yes diff --git a/www/e107/files/pkg-message.in b/www/e107/files/pkg-message.in index f72a9454ad64..c75273a598b5 100644 --- a/www/e107/files/pkg-message.in +++ b/www/e107/files/pkg-message.in @@ -7,13 +7,23 @@ POST-INSTALL CONFIGURATION FOR e107 2) Add the following to your Apache configuration, and restart the server: - ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. + For Apache versions earlier than 2.4: + Alias /e107 %%PREFIX%%/%%E107DIR%%/ AcceptPathInfo On <Directory %%PREFIX%%/%%E107DIR%%> AllowOverride None Order Allow,Deny - Allow from all + Allow from all + </Directory> + + For Apache version 2.4.x or above: + + Alias /e107 %%PREFIX%%/%%E107DIR%%/ + AcceptPathInfo On + <Directory %%PREFIX%%/%%E107DIR%%/> + AllowOverride None + Require all granted </Directory> 3) Visit your e107 site with a browser (i.e., |