Re: Redirect help
"Hiebert, Chris" <chris.hiebert-ASS2j2sx/[email protected]>
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> On Behalf Of David > Gibbs via WEB400 > Sent: Sunday, May 9, 2021 9:58 AM > To: [email protected] > Cc: David Gibbs <david-Zwy7GipZuJhWk0Htik3J/[email protected]> > 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 -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.