fix apache urls