add pac config and fix pac forbidden when access pac as localhost