diff options
author | Wen Heping <wen@FreeBSD.org> | 2016-04-16 01:30:28 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2016-04-16 01:30:28 +0000 |
commit | 8d7d0b0a8d6f5ec7e05f9f45d621c6fbb3d5b76c (patch) | |
tree | 3480005343fdd684efb5e400ffc666c466e2887b /www/e107 | |
parent | 4bc0e95ba0a3ab227b8958a1fd4981bb867c4497 (diff) | |
download | ports-8d7d0b0a8d6f5ec7e05f9f45d621c6fbb3d5b76c.tar.gz ports-8d7d0b0a8d6f5ec7e05f9f45d621c6fbb3d5b76c.zip |
- Update USE_PHP(add hash, dom and session, replace mysqli with pdo_mysql)
- Improve pkg-message(Add the configure for apache-2.4)
Notes
Notes:
svn path=/head/; revision=413408
Diffstat (limited to 'www/e107')
-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., |