fixing 500 apache redirect wierdness