# HG changeset patch # User Stephan Holl # Date 1311334525 -7200 # Node ID 011ec33e84b48410b2cc6f1fa247576331c373b6 # Parent bdf58d5b7d9295200f8d3787c51886675a8bd390 * website/.htaccess, website/buildhtml.mk, website/switch.php: added an rsync-switch to transfer symlinks as files (-L), reworked the details language-switch inside the PHP-script. diff -r bdf58d5b7d92 -r 011ec33e84b4 ChangeLog --- a/ChangeLog Fri Jul 22 13:24:36 2011 +0200 +++ b/ChangeLog Fri Jul 22 13:35:25 2011 +0200 @@ -1,3 +1,9 @@ +2011-07-22 Stephan Holl + + * website/.htaccess, website/buildhtml.mk, website/switch.php: + added an rsync-switch to transfer symlinks as files (-L), reworked + the details language-switch inside the PHP-script. + 2011-07-22 Stephan Holl Added an english translation of the website. diff -r bdf58d5b7d92 -r 011ec33e84b4 website/.htaccess --- a/website/.htaccess Fri Jul 22 13:24:36 2011 +0200 +++ b/website/.htaccess Fri Jul 22 13:35:25 2011 +0200 @@ -1,2 +1,2 @@ -DirectoryIndex index-de.html -ErrorDocument 404 /404-de.html +DirectoryIndex switch.php +ErrorDocument 404 /404.html diff -r bdf58d5b7d92 -r 011ec33e84b4 website/buildhtml.mk --- a/website/buildhtml.mk Fri Jul 22 13:24:36 2011 +0200 +++ b/website/buildhtml.mk Fri Jul 22 13:35:25 2011 +0200 @@ -41,7 +41,7 @@ online: all echo "Going to put current contents online for www.mxd2mapp.org ..." - rsync -urvP --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ + rsync -urvPL --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ sholl@wald.intevation.org:/mxd2map/htdocs/ install: all diff -r bdf58d5b7d92 -r 011ec33e84b4 website/switch.php --- a/website/switch.php Fri Jul 22 13:24:36 2011 +0200 +++ b/website/switch.php Fri Jul 22 13:35:25 2011 +0200 @@ -5,7 +5,7 @@ $target = "index-de.html"; break; default: - $target = "index-de.html"; + $target = "index.html"; } readfile($target); ?>