Update InstallationUbuntuApache.sh
* Updated the Apache file to be a .conf * Site default is now 000-default
This commit is contained in:
parent
ae778ecb5e
commit
41b6da878b
1 changed files with 3 additions and 3 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue