<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple Response Pages in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79289#M43232</link>
    <description>&lt;P&gt;it's a bit like bringing a bulldozer to put in a nail, but you can have a unique response page per vsys, so a multi-vsys system can have several response pages&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can also load the content of the response page from a remote server which might allow you to work with access lists:&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/Management-Articles/Using-a-Custom-Response-Page-to-HTTP-Redirect/ta-p/55394" target="_blank"&gt;Using a Custom Response Page to HTTP Redirect&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 14:49:58 GMT</pubDate>
    <dc:creator>reaper</dc:creator>
    <dc:date>2016-06-07T14:49:58Z</dc:date>
    <item>
      <title>Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79279#M43227</link>
      <description>&lt;P&gt;Does anyone know of a way to make multiple response pages for different user groups. Specifically the URL Filtering and Category Match Block Page?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Essentially what I'm trying to do is create two different responses; one that will tell you your request was blocked because of policy, and the other one will simply block the traffic and display a blank page that doesn't give the end user any notification that the category in question is actually being blocked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:23:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79279#M43227</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2016-06-07T14:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79285#M43229</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Response pages are set globally rather than per policy, so you can't have a different response page based on user. If you don't want to have a response page shown then you can remove response pages from the interface&amp;nbsp;mgmt profile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:42:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79285#M43229</guid>
      <dc:creator>bmorris1</dc:creator>
      <dc:date>2016-06-07T14:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79288#M43231</link>
      <description>&lt;P&gt;Thanks Ben! That's what I was seeing but I wanted to make sure that I wasn't missing something.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:45:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79288#M43231</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2016-06-07T14:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79289#M43232</link>
      <description>&lt;P&gt;it's a bit like bringing a bulldozer to put in a nail, but you can have a unique response page per vsys, so a multi-vsys system can have several response pages&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can also load the content of the response page from a remote server which might allow you to work with access lists:&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/Management-Articles/Using-a-Custom-Response-Page-to-HTTP-Redirect/ta-p/55394" target="_blank"&gt;Using a Custom Response Page to HTTP Redirect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:49:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/79289#M43232</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2016-06-07T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/152874#M50513</link>
      <description>&lt;P&gt;You can actually do this type of thing&amp;nbsp;with a little javascript - here's an example script:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript"&amp;gt;
if ("&amp;lt;category/&amp;gt;" == "test") {
    window.location="http://www.google.com";
} 
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;If you insert that in the&lt;/P&gt;&lt;PRE&gt;&amp;lt;head&amp;gt;&lt;/PRE&gt;&lt;P&gt;section of your response page, any traffic that matches the category named 'test' will redirect to &lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also match on user, file, rule name, etc...&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 16:32:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/152874#M50513</guid>
      <dc:creator>drogers</dc:creator>
      <dc:date>2017-04-17T16:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153045#M50553</link>
      <description>&lt;P&gt;I'll second&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/2876"&gt;@drogers&lt;/a&gt;&amp;nbsp;suggestion to checking out your options with javascript as this is how I'm dealing with my URL Filtering response page. &amp;nbsp;I stuck some javascript in there to utlize the variables Palo Alto generates to determine what type of page it hit (malware, phishing, etc) and then display the appropriate images/content.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 16:09:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153045#M50553</guid>
      <dc:creator>jsalmans</dc:creator>
      <dc:date>2017-04-18T16:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153164#M50583</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/2876"&gt;@drogers&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;You can actually do this type of thing&amp;nbsp;with a little javascript - here's an example script:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript"&amp;gt;
if ("&amp;lt;category/&amp;gt;" == "test") {
    window.location="http://www.google.com";
} 
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;If you insert that in the&lt;/P&gt;&lt;PRE&gt;&amp;lt;head&amp;gt;&lt;/PRE&gt;&lt;P&gt;section of your response page, any traffic that matches the category named 'test' will redirect to &lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also match on user, file, rule name, etc...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/2876"&gt;@drogers&lt;/a&gt;&amp;nbsp;A coder is the last list of tricks in my bag so I'd hope to clarify something. &amp;nbsp;Currently a response page for block action is uploaded in code wholly contained in the firewall. &amp;nbsp;(images base-64 enconded and whatnot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you're writing here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;if ("&amp;lt;category/&amp;gt;" == "test") {&lt;BR /&gt;window.location="&lt;A href="http://www.google.com" target="_blank"&gt;http://www.google.com&lt;/A&gt;";&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;essentially category could be a custom URL value or some predefine URL cat like "malware?" &amp;nbsp;Right...This is "test"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then if category = "test" in this "response page" that's uploaded into the firewall the response page is actually a redirect to some other webpage / content?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I understanding that correctly? &amp;nbsp;So this would mean&amp;nbsp;we'd need some other web front end via apache / iis hosting these response pages / coding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"malware" could get fakedomain.com/malware&lt;/P&gt;&lt;P&gt;"blacklist" could get fakedomain.com/blacklist&lt;/P&gt;&lt;P&gt;"phishing" could get fakedomain.com/phishing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... And so on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--edit-- I hope my understanding is correct and I didn't just write that out all wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:08:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153164#M50583</guid>
      <dc:creator>Brandon_Wertz</dc:creator>
      <dc:date>2017-04-19T12:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153174#M50590</link>
      <description>&lt;P&gt;I believe the redirect was just an example. you have all of javascript at your disposal (assuming the client browser is running javascript), so you can make it as complex or as simple as you wish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if you do take the redirect approach, yes, you'd have to provide your own server/sever side scripting.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:58:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153174#M50590</guid>
      <dc:creator>bradk14</dc:creator>
      <dc:date>2017-04-19T13:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response Pages</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153204#M50597</link>
      <description>&lt;P&gt;Brandon,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Yes - in my example 'test' is a custom URL category that I used when I was validating this. &amp;nbsp;The example I was working out was actually for a customer that required a redirect to a 3rd party web server for quarantining users, but you could just as easily use the script to update the DOM to display a completely different set of text / layout based on the URL category. &amp;nbsp;Or you could do as your example pointed out and send users to different landing pages on your own web server. &amp;nbsp;Pretty much anything you can do with javascript can be done in place of the redirect in my script...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:55:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/multiple-response-pages/m-p/153204#M50597</guid>
      <dc:creator>drogers</dc:creator>
      <dc:date>2017-04-19T15:55:05Z</dc:date>
    </item>
  </channel>
</rss>

