Holly crap... that bad. thanks for that.
The extra escaping didn't cause issues in fedora/redhat and removing them as you have didn't complain either so I've removed these to suit more distros now.
Fixed VAR name (Ouch, how the hell did that go wrong).
The Redirect /ispc.awstats/ has been corrected.
Added your instructions to restart apache at the end of the script and a thankyou note to you for the fixes.
PLEASE NOTE: The original link on first post contains the changes martinfst has supplied.
Hopefully this is alot better now, bit hard to test on a live system hence the errors.