URL Rewiting for filemanager