adjust apache ordering based on location urls