Using a Custom Response Page to HTTP Redirect

Using a Custom Response Page to HTTP Redirect

37851
Created On 09/26/18 13:51 PM - Last Modified 05/14/21 20:55 PM


Symptom


A web page hosted on a company web server can be used as a Response Page. This may be useful to present Response Pages depending on the user's language or present pages with rich content.

Environment


  • Palo Alto Firewall.
  • Any PAN-OS.
  • Response Page.


Resolution


 

  1. Create and save a clear-text ANSI file containing the following code:
    <html>
    <head>
    <meta http-equiv="refresh" content="0; url=http://www.example.com/">
    </head>
    </html>

    Note: For this example, the file is saved as "url-block-page.txt" and used as the HTTP Redirect for a Block Page. For https sites, use https://www.example.com/ in the HTML code.
 
  1. Select the Response Page to customize (GUI: Device > Response Pages)
    Screen Shot 2014-09-22 at 5.06.34 PM.png
 
  1. Browse your computer and add the plain text file you just saved, to Destination: shared
Screen Shot 2014-09-22 at 5.07.11 PM.png
  1. Click OK. A 'shared' Location will be listed on the Response page, which means the Custom Response Page has been loaded.
Screen Shot 2014-09-22 at 5.07.27 PM.png
  1. Commit to complete the configuration. Blocked pages will now be redirected to http://www.example.com/


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CltqCAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language