× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



By any chance could it be because you misspelled "mailman" in your rule?
You have an "m" there instead of "n" in "/mailmam/listinfo$1"


Gota love urldefense URLS.


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of David
Gibbs via WEB400
Sent: Sunday, May 9, 2021 9:58 AM
To: web400@xxxxxxxxxxxxxxxxxx
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: [WEB400] Redirect help

Folks:

Although this isn't specifically IBM i related, it is Apache httpd related.

Can anyone see the problem with this directive?

RewriteRule "^mailman/listinfo(.*)__;.*" "/mailmam/listinfo$1"
[R=permanent,L]

I'm trying to match requests that have garbage characters after the list
name. For example:

https://lists.midrange.com/mailman/listinfo/midrange-l__;!!NVq9dfhzMyHqTw!z410dqrmr6fXvUzgEcyb2bBGMYgWN3xOn7iWtWF8E-ADrINrLivrvNo2navKbtB3Tw$

In the current configuration, the following redirect works perfectly:
RewriteRule "^listinfo(.*)" "/mailman/listinfo$1" [R=permanent,L]

Thanks!

david

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.