Any Apache rewrite gurus out there willing to offer a (for you) easy bit of assistance?
Situation is this, I have a VPS which has a couple of listening V hosts and IP addresses (for argument's sake; host.domain.com and domain.com, which go to 1.2.3.4 and 2.3.4.5 respectively), and a mailman install (on 1.2.3.4) which for no reason I can fathom has it's webpage URLs all set to domain.com (not where mailman is). I've checked all the mailman conf files and they rightly have the correct webpage host of host.domain.com set, so lord knows why it's started handing out domain.com URLs (and yes, I'm going to get my VPS support folks to explain that one to me if they can), but in the mean time we've got mail stacking up in mailman for moderation that we can't do anything with. Quickest solution I can think of (given it all goes via Apache) is to set up a rewrite to trap this and fix it on the fly; unfortunately, I don't know rewrite all that well.
So, can someone help out with a rewrite set that will spot "domain.com/mailman/*" and rewrite it to "host.domain.com/mailman/*"?
Situation is this, I have a VPS which has a couple of listening V hosts and IP addresses (for argument's sake; host.domain.com and domain.com, which go to 1.2.3.4 and 2.3.4.5 respectively), and a mailman install (on 1.2.3.4) which for no reason I can fathom has it's webpage URLs all set to domain.com (not where mailman is). I've checked all the mailman conf files and they rightly have the correct webpage host of host.domain.com set, so lord knows why it's started handing out domain.com URLs (and yes, I'm going to get my VPS support folks to explain that one to me if they can), but in the mean time we've got mail stacking up in mailman for moderation that we can't do anything with. Quickest solution I can think of (given it all goes via Apache) is to set up a rewrite to trap this and fix it on the fly; unfortunately, I don't know rewrite all that well.
So, can someone help out with a rewrite set that will spot "domain.com/mailman/*" and rewrite it to "host.domain.com/mailman/*"?


