1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Hopefully fix Apache configuration

This commit is contained in:
J. King 2021-05-25 15:13:18 -04:00
parent 32ca0c3fe4
commit f9cbac2c31
2 changed files with 8 additions and 8 deletions

View file

@ -1,10 +1,10 @@
Define ARSSE_CONF "/etc/arsse/apache/"
Define ARSSE_DATA "/usr/share/arsse/"
Define ARSSE_PROXY "unix:/var/run/php/arsse.sock|fcgi://localhost${ARSSE_DATA}"
DocumentRoot "${ARSSE_DATA}www"
DocumentRoot "/usr/share/arsse/www"
<Directory "/usr/share/arsse/www">
Require all granted
</Directory>
Define ARSSE_PROXY "unix:/var/run/php/arsse.sock|fcgi://localhost/usr/share/arsse/"
ProxyPreserveHost On
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "${ARSSE_DATA}arsse.php"
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/usr/share/arsse/arsse.php"
Include "${ARSSE_CONF}arsse-loc.conf"
Include "/etc/arsse/apache/arsse-loc.conf"

View file

@ -43,7 +43,7 @@ Finally, services must be restarted to apply the new configurations, and The Ars
```sh
sudo systemctl restart systemd-sysusers
sudo systemctl restart systemd-tmpfiles
sudo systemd-tmpfiles --create
sudo systemctl restart php$php_ver-fpm
sudo systemctl reenable arsse
sudo systemctl restart arsse