clear legacy cruft

This commit is contained in:
sparklyballs 2017-02-23 12:24:27 +00:00
parent 8fca2711d8
commit d9f6a3c257
2 changed files with 0 additions and 30 deletions

View file

@ -1,13 +0,0 @@
<VirtualHost *:80>
DocumentRoot /config/www/gallery
<Directory /config/www/gallery/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

View file

@ -1,17 +0,0 @@
#!/bin/bash
mkdir -p /config/www/gallery
if [ -f "/config/www/gallery/index.php" ]; then
echo "using existing website"
else
echo "fetching piwigo files"
wget "http://piwigo.org/download/dlcounter.php?code=latest" -O /tmp/piwigo.zip
unzip -q /tmp/piwigo.zip -d /tmp
mv /tmp/piwigo/* /config/www/gallery
rm -rf /tmp/piwigo /tmp/piwigo.zip
chown -R abc:abc /config/www/gallery
fi
if [ ! -f "/config/www/gallery/local/config/config.inc.php" ]; then
cp /config/www/gallery/include/config_default.inc.php /config/www/gallery/local/config/config.inc.php
chown abc:abc /config/www/gallery/local/config/config.inc.php
fi