Response page variables display as $(url.host) and $(x-exception-category)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Response page variables display as $(url.host) and $(x-exception-category)

L0 Member

Below is the response page. This is being served correctly when the webpage is blocked due to URL category filter.

The variables for <url/> and <category/> don't seem to get replaced correctly.

PanOS 8.1.10.

Webpage text displays as "The requested URL host is: $(url.host) Which has been categorized as: $(x-exception-category)"

 

 

<html>
<title>Website Blocked: <url/></title>
<img src="http://www.logo.com/logo.jpg" alt="Company"</img>
<body style="background-color:#E5E5E5;">
<p>The content of this website is in violation of the Acceptable Use of Information Technology Resources policy.
Access to this website has been blocked.</p>
<p>For your reference links to specific policies in this matter are provided below.</p>
<p><a href="https://company/Policies/acceptableuse.doc">Acceptable Use of Information Technology Resources</p>
<br />
The requested URL host is: <url/> <br />
Which has been categorized as: <category/> </p>
<p>If you have a legitimate reason to access this site please email
<a href="mailto:it-security@company.com?subject=Blocked Web Page&body=<url/>, category: <category/>, User ID: <user/>">Information Security & Policy Office</a> to request an exception.</p>
</body>
</html>

1 accepted solution

Accepted Solutions

L4 Transporter

The <url/> and <category/> placeholder tags look right when I compare it to my own custom page.  It's really a long shot, but this line in your page is throwing me off a bit.  I wonder if you're creating a problem with open < brackets that aren't closed.

<img src="http://www.logo.com/logo.jpg" alt="Company"</img>

 Maybe try it like this (or omitting it altogether as a test):

<img src="http://www.logo.com/logo.jpg" alt="Company">

View solution in original post

1 REPLY 1

L4 Transporter

The <url/> and <category/> placeholder tags look right when I compare it to my own custom page.  It's really a long shot, but this line in your page is throwing me off a bit.  I wonder if you're creating a problem with open < brackets that aren't closed.

<img src="http://www.logo.com/logo.jpg" alt="Company"</img>

 Maybe try it like this (or omitting it altogether as a test):

<img src="http://www.logo.com/logo.jpg" alt="Company">
  • 1 accepted solution
  • 3371 Views
  • 1 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!