summarylogtreecommitdiffstats
path: root/adminer.install
diff options
context:
space:
mode:
authorMario Finelli2025-02-24 14:47:11 +0100
committerMario Finelli2025-02-24 14:47:11 +0100
commita60a7b3b58ff7801e4c92e0ea6c0bbdd6e526cab (patch)
tree4f5ede769ffc9caab70e3a479afbebd49e7fb739 /adminer.install
parent7b6a9f407802425a8b8902bec246ee7f721a35c7 (diff)
downloadaur-a60a7b3b58ff7801e4c92e0ea6c0bbdd6e526cab.tar.gz
upgpkg: adminer 4.17.0-1
upstream release
Diffstat (limited to 'adminer.install')
-rw-r--r--adminer.install14
1 files changed, 12 insertions, 2 deletions
diff --git a/adminer.install b/adminer.install
index 3e712df7fd88..73c202973fc8 100644
--- a/adminer.install
+++ b/adminer.install
@@ -1,8 +1,18 @@
read -r -d '' MESSAGE << EOM
If you use apache and want to enable the adminer interface just run the
-following command as root:
+following commands:
-echo "Include conf/extra/httpd-adminer.conf" >> /etc/httpd/conf/httpd.conf
+cat <<EOF | sudo tee -a /etc/httpd/conf/extra/httpd-adminer.conf
+Alias /adminer "/usr/share/webapps/adminer"
+<Directory "/usr/share/webapps/adminer">
+ AllowOverride All
+ Options FollowSymlinks
+ Require all granted
+</Directory>
+EOF
+
+echo "Include conf/extra/httpd-adminer.conf" |
+ sudo tee -a /etc/httpd/conf/httpd.conf
Restart apache (systemctl restart httpd) and then you can access adminer on
http://localhost/adminer.