Install Apache2 ZnoteAAC virtual host
This commit is contained in:
5
app/1mindeploy/znoteaac-virtualhost-install.sh
Normal file
5
app/1mindeploy/znoteaac-virtualhost-install.sh
Normal 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
|
||||
16
app/1mindeploy/znoteaac.conf
Normal file
16
app/1mindeploy/znoteaac.conf
Normal 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
|
||||
Reference in New Issue
Block a user