[Moin-user] HideReferringPage

Lars Kruse lists at sumpfralle.de
Sat Oct 24 00:52:45 EDT 2015


Hi,


Am Sat, 24 Oct 2015 01:22:31 +0200
schrieb Paul Boddie <paul at boddie.org.uk>:

> Now you just have to write the action. ;-)

I use the apache config snippet below for redirecting requests via apache's
"rewrite" module.
Or did you refer to a moinmoin "action"?

Cheers,
Lars


# dummy empty directory
Alias /deferrer/ /var/www/deferrer/
<Directory /var/www/deferrer>
   Require all granted
   RewriteEngine On
   RewriteRule ^https:.(.*)$       https://$1 [R,L]
   RewriteRule ^http:.(.*)$        http://$1 [R,L]
   RewriteRule ^ftp:.(.*)$         ftp://$1 [R,L]
   RewriteRule ^.*$                https://fallback.example.org/ [R,L]
</Directory>





More information about the Moin-user mailing list