[Moin-user] Using a redirect script for external links
Yusuf Abdulghani
yusuf at apple.com
Thu Mar 10 15:42:24 EST 2005
Interesting. This could be an optional security feature in the next
version of MoinMoin.
BTW, where did you put the redirect.pl script? In your wiki's top-level
directory?
Yusuf
On Mar 9, 2005, at 10:25 PM, Ry4an Brase wrote:
> It's not earth shattering, but I found I could very easily get MoinMoin
> to route all external http links through a redirect script using these
> lines in my moin_config.py file:
>
> url_mappings = {
> 'http://': 'http://myhost/redirect/?http://',
> 'https://': 'http://myhost/redirect/?https://'
> }
>
> Routing links through a redirect script allows one to get stats on
> which
> URLs people use to exit and also hides the referrer information from
> the
> link destination's logs. That's especially nice in my case as we use
> an
> internal corporate wiki, and we don't necessarily want people outside
> the company seeing our page names -- as wiki URLs can be quite
> descriptive.
>
> For the redirect script I used this one:
>
> http://www.webreference.com/perl/tutorial/7/
>
> Though, there are million out there, and they're trivial to write.
>
> --
> Ry4an Brase - http://ry4an.org/unblog/
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
More information about the Moin-user
mailing list