updated to support apache path aliases