Re: HideReferringPage
Marcus Schopen <[email protected]> Sun, 25 Oct 2015 10:46:40 +0100
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <1445766400.6307.4.camel@cosmo> |
Am Samstag, den 24.10.2015, 06:52 +0200 schrieb Lars Kruse: > Hi, > > > Am Sat, 24 Oct 2015 01:22:31 +0200 > schrieb Paul Boddie <[email protected]>: > > > 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> Hmmm ... in my setup the rewriterule doesn't hide/remove the referer. Ciao! ------------------------------------------------------------------------------