Forgot a patch in previous.

Mention the rewrite_module in readme while here.
This commit is contained in:
ajacoutot 2017-04-28 10:41:45 +00:00
parent 37b92c1fed
commit 96a164f3d8
3 changed files with 28 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.113 2017/04/28 10:20:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.114 2017/04/28 10:41:45 ajacoutot Exp $
COMMENT= easy and universal access to shared and/or personal files
V= 10.0.0
DISTNAME= owncloud-${V}
EXTRACT_SUFX= .tar.bz2
REVISION= 0
CATEGORIES= www

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-_htaccess,v 1.1 2017/04/28 10:41:45 ajacoutot Exp $
XXX 500 error with our php5.
--- .htaccess.orig Fri Apr 28 12:35:01 2017
+++ .htaccess Fri Apr 28 12:35:21 2017
@@ -35,9 +35,9 @@
</FilesMatch>
</IfModule>
-<IfModule mod_php5.c>
- php_value always_populate_raw_post_data -1
-</IfModule>
+// <IfModule mod_php5.c>
+// php_value always_populate_raw_post_data -1
+// </IfModule>
php_value upload_max_filesize 513M
php_value post_max_size 513M

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.46 2017/04/28 10:20:38 ajacoutot Exp $
$OpenBSD: README,v 1.47 2017/04/28 10:41:45 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -44,6 +44,12 @@ package is installed:
# ln -s ../modules.sample/httpd-owncloud.conf /var/www/conf/modules
# rcctl restart apache2
The rewrite_module needs to be enabled by uncommenting the following line in
${SYSCONFDIR}/apache2/httpd2.conf:
#LoadModule rewrite_module /usr/local/lib/apache2/mod_rewrite.so
Apache also needs
PHP
---
Default PHP values for Apache are set under: