[dancer-users] Apache config settings that should work for www.perldancer.org rerwite

Dave Baker davebaker at benefitslink.com
Mon Oct 9 15:55:49 BST 2017


     # Send www.perldancer.org requests to perldancer.org
     #
     # From httpd.apache.org/docs/2.2/mod/mod_rewrite.html:
     # "In VirtualHost context, The Pattern will initially be
     # matched against the part of the URL after the hostname and
     # port, and before the query string (e.g. "/app1/index.html")."
     #
     RewriteCond %{HTTP_HOST} ^www\.perldancer.org [NC]
       RewriteRule ^(.*) https://perldancer.org$1 [R=301]

On 10/6/2017 7:00 AM, dancer-users-request at dancer.pm wrote:
 >
 > Hello Gabor,
 >
 > thanks for spotting this. I agree with you, we should permanently 
redirect
 > from www.perldancer.org to perldancer.org.
 >
 > Regards
 >          Racke
 >

-- Dave Baker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20171009/ce45b0ee/attachment.html>


More information about the dancer-users mailing list