summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMario Finelli2016-03-10 19:07:54 +0000
committerMario Finelli2016-03-10 19:07:54 +0000
commit07cdc411e8f7dc7077381af85b99b2f6677f4228 (patch)
treea4f66c64d50b36e1239dc51eaa9ac755c705b6bc /PKGBUILD
parente55cc6cb05e744c9702f9d892caa7c2c2c490e4e (diff)
downloadaur-07cdc411e8f7dc7077381af85b99b2f6677f4228.tar.gz
Move apache configuration to new file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 0 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f1903f72dd65..f2af450bda2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,17 +23,6 @@ package() {
install -D -m644 $srcdir/${pkgname}-${pkgver}.php $_instdir/index.php
- # It's similar to phpMyAdmin
- cat >$pkgdir/etc/webapps/$pkgname/apache.example.conf <<EOF
- Alias /${pkgname} "/usr/share/webapps/${pkgname}"
- <Directory "/usr/share/webapps/${pkgname}">
- AllowOverride All
- Options FollowSymlinks
- Require all granted
- php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/"
- </Directory>
-EOF
-
cp $pkgdir/etc/webapps/$pkgname/apache.example.conf $pkgdir/etc/httpd/conf/extra/httpd-${pkgname}.conf
# echo "Include conf/extra/httpd-${pkgname}.conf" >> $pkgdir/etc/httpd/conf/httpd.conf