On 04/26/2017 03:41 PM, Dean Suhr wrote:
> My Mailman list server is running on a linux server. 
> 
> I want to use a simplified URL to get to the list signup page. (I am afraid 
> the underscore might be mistaken for a space in invitation emails when the 
> email client automatically underlines links).
> 
> I am not a htaccess wizard and have tried both file and domain level 
> redirecting with no joy. I thought the ".org" in the live URL might be the 
> problem but apparently it's not. Thanks in advance.
> 
> Simplified URL: http://mldfamily.org/i-have-mld
> Live signup URL: 
> http://mldfamily.org/mailman/listinfo/i-have-mld_mldfamily.org


This looks like cPanel where the list posting address is
[email protected], but the actual internal list name is
i-have-mld_mldfamily.org.


> These two don’t work:
> RedirectMatch 301 http://mldfamily.org/i-have-mld(.*) 
> http://mldfamily.org/mailman/listinfo/i-have-mld_mldfamily.org/$1
> 
> Redirect 301 http://mldfamily.org/i-have-mld 
> http://mldfamily.org/mailman/listinfo/i-have-mld_mldfamily.org


They don't work because the match is against the URL-path, not against
the full URL. You want things like

> RedirectMatch 301 /i-have-mld(.*) 
> http://mldfamily.org/mailman/listinfo/i-have-mld_mldfamily.org/$1

or

> Redirect 301 /i-have-mld 
> http://mldfamily.org/mailman/listinfo/i-have-mld_mldfamily.org

or even

> RedirectMatch 301 /i-have-mld(.*) 
> /mailman/listinfo/i-have-mld_mldfamily.org/$1

or

> Redirect 301 /i-have-mld /mailman/listinfo/i-have-mld_mldfamily.org

but I don't think you'd ever really want the first of either pair.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to