Create a Custom Block Page for Captive Portal

Create a Custom Block Page for Captive Portal

23201
Created On 09/26/18 13:52 PM - Last Modified 06/01/23 02:59 AM


Resolution


Details

Althought it's not possible to import a custom logo for the captive portal block page, the browser can be redirected to a site with a file containing the logo. The browser must be able to reach the file in order for this procedure to work.

 

An example of a custom block page with a logo is located at: www.mysite.com/logo.jpg

 

<html>

<head>

<title>Web Page Blocked</title>

<img src="www.mysite.com/logo.jpg" data alt="Logo">

<style>

#content{border:3px solid#aaa;background-color:#fff;margin:40;padding:40;font-family:Tahoma,Helvetica,Arial,sans-serif;font-size:12px;}

  h1{font-size:20px;font-weight:bold;color:#196390;}

  b{font-weight:bold;color:#196390;}

</style>

</head>

<body bgcolor="#e7e8e9">

<div id="content">

<h1>Web Page Blocked</h1>

<p>Access to the web page you were trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.</p>

<p><b>User:</b> <user/> </p>

<p><b>URL:</b> <url/> </p>

<p><b>Category:</b> <category/> </p>

</div>

</body>

</html>

 

owner: panagent



Actions
  • Print
  • Copy Link

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

Choose Language