Debugged URL rewriting and staic page controller.