Commit 70018887 authored by Kristina Hoeppner's avatar Kristina Hoeppner

Update rewrite rule to 18.04 & change daily cron

- manual.mahara.org rewrites to 18.04
- removed 17.04 from daily cron and moved to monthly
parent 4aaac15b
......@@ -28,6 +28,5 @@ git pull >> $LOGFILE
git submodule update --init --remote manual-build >> $LOGFILE 2>&1
# Move old versions to the monthly cron in /etc/cron.monthly/
make -C $INSTALLDIR update html epub MAHARA=17.04 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub MAHARA=17.10 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub MAHARA=18.04 >> $LOGFILE 2>&1
......@@ -39,3 +39,4 @@ make -C $INSTALLDIR update html epub MAHARA=15.04 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub MAHARA=15.10 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub MAHARA=16.04 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub MAHARA=16.10 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub MAHARA=17.04 >> $LOGFILE 2>&1
......@@ -151,7 +151,7 @@ cat > /etc/apache2/sites-available/mahara-manual-sphinx.conf << EOF
RewriteEngine on
RewriteRule ^(.*)/1.4_STABLE/(.*)$ $1/1.4/$2
RewriteRule ^(.*)/1.5_STABLE/(.*)$ $1/1.5/$2
RewriteRule ^/$ /en/17.10/ [R]
RewriteRule ^/$ /en/18.04/ [R]
</IfModule>
</VirtualHost>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment