added missing port on virtual host. Fixed Ubuntu Apache install instructions to use Apache2's a2dissite and a2ensite functions to enable and disable virtual hosts. Changed auto install bash script to reflect changes in virtual host file.

This commit is contained in:
Mike Grace 2011-09-12 19:46:11 -05:00
parent 9f55b83f1f
commit e7e14198f1
3 changed files with 10 additions and 4 deletions

View file

@ -77,7 +77,7 @@ echo ""
echo ""
cp /var/www/openphoto/src/configs/openphoto-vhost.conf /etc/apache2/sites-available/openphoto
sed -e 's/<VirtualHost \*>/<VirtualHost \*:80>/g' -e '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
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
a2ensite openphoto