Install Apache2 ZnoteAAC virtual host

This commit is contained in:
2025-02-27 21:10:59 +01:00
parent 66a1ce279e
commit f4aae5f578
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
cp /home/tibia/1mindeploy/znoteaac.conf /etc/apache2/sites-available/
a2dissite 000-default.conf
a2ensite znoteaac.conf
service apache2 reload

View File

@@ -0,0 +1,16 @@
<VirtualHost *:80>
Alias /znoteaac /var/www/ZnoteAAC
ServerAdmin webmaster@localhost
DocumentRoot /var/www/ZnoteAAC
<Directory /var/www/ZnoteAAC>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/znoteaac-error.log
CustomLog ${APACHE_LOG_DIR}/znoteaac-access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet