Update InstallationUbuntuApache.sh

* Updated the Apache file to be a .conf
* Site default is now 000-default
This commit is contained in:
Fly Man 2015-01-24 18:53:50 +01:00
parent ae778ecb5e
commit 41b6da878b

View file

@ -94,9 +94,9 @@ echo "===================================================="
echo ""
echo ""
cp /var/www/openphoto/src/configs/openphoto-vhost.conf /etc/apache2/sites-available/openphoto
sed 's/\/path\/to\/openphoto\/html\/directory/\/var\/www\/openphoto\/src\/html/g' /var/www/openphoto/src/configs/openphoto-vhost.conf > /etc/apache2/sites-available/openphoto
a2dissite default
cp /var/www/openphoto/src/configs/openphoto-vhost.conf /etc/apache2/sites-available/openphoto.conf
sed 's/\/path\/to\/openphoto\/html\/directory/\/var\/www\/openphoto\/src\/html/g' /var/www/openphoto/src/configs/openphoto-vhost.conf > /etc/apache2/sites-available/openphoto.conf
a2dissite 000-default
a2ensite openphoto
echo ""