Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

The following were both working perfectly for the last 2 years but after a server upgrade the first, with an extra folder is no longer working:

RewriteCond %{HTTP_HOST} ^www\.mayoaccommodation\.com$ [OR]
RewriteCond %{HTTP_HOST} ^mayoaccommodation\.com$
RewriteRule ^(.*)$ http://www.mayo-ireland.ie/accommodation/$1  [P]

RewriteCond %{HTTP_HOST} ^www\.mayobb\.com$ [OR]
RewriteCond %{HTTP_HOST} ^mayobb\.com$
RewriteRule ^(.*)$ http://www.mayo-ireland.ie/accommodation_bb.htm [P]

Has there been a change in the rewrite module?

share|improve this question

closed as too localized by bybe, Stephen Ostermiller, danlefree Mar 22 '13 at 5:05

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What upgrade was done? Versions? –  jeffatrackaid Feb 18 '13 at 19:00
Stephen, as far as I know just changed to Plesk 11, I can get more info tomorrow. –  user23465 Feb 18 '13 at 19:23
Is mod_rewrite enabled? (run 'a2enmod rewrite;service apache2 reload' if Debian/Ubuntu to enable). –  ionFish Feb 19 '13 at 3:24
We've gone from Centos 5.2 > 6.3. And Apache/2.2.3 > Apache/2.2.15 –  user23465 Feb 19 '13 at 12:51
Yes mod_rewrite is enabled. –  user23465 Feb 19 '13 at 12:59

Browse other questions tagged or ask your own question.