From f21e9ea136e271a49f8fe6f6ebbce0c3fddac0f5 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Thu, 15 Jun 2017 20:04:01 +0200 Subject: [PATCH] rewrite share URL for Apache --- site/static/.htaccess | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/site/static/.htaccess b/site/static/.htaccess index de377bf..2cf8d54 100644 --- a/site/static/.htaccess +++ b/site/static/.htaccess @@ -1 +1,6 @@ +RewriteEngine On + ErrorDocument 404 /404.html + +# Nicer URL for share buttons +RewriteRule ^share/?$ /cgi/share.php [NC,L]