mirror of
https://github.com/ShaYmez/xlxd-debian-installer.git
synced 2024-11-23 19:58:36 -05:00
updated web permissions
This commit is contained in:
parent
9ab758ba7e
commit
6d2d403b2b
@ -97,6 +97,7 @@ echo "Copying directives and reloading apache... "
|
|||||||
cp $DIRDIR/templates/apache.tbd.conf /etc/apache2/sites-available/$XLXDOMAIN.conf
|
cp $DIRDIR/templates/apache.tbd.conf /etc/apache2/sites-available/$XLXDOMAIN.conf
|
||||||
sed -i "s/apache.tbd/$XLXDOMAIN/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
|
sed -i "s/apache.tbd/$XLXDOMAIN/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
|
||||||
sed -i "s/ysf-xlxd/xlxd/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
|
sed -i "s/ysf-xlxd/xlxd/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
|
||||||
|
chown -R www-data: /var/www/xlxd/
|
||||||
a2ensite $XLXDOMAIN
|
a2ensite $XLXDOMAIN
|
||||||
service xlxd start
|
service xlxd start
|
||||||
systemctl restart apache2
|
systemctl restart apache2
|
||||||
|
Loading…
Reference in New Issue
Block a user