ZIA - yusukew62/docs GitHub Wiki

ZIA

End User Notification

phpインストール

# yum install epel-release
# yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
# yum install yum-utils
# yum-config-manager --disable 'remi-php*'
# yum-config-manager --enable remi-php80
# yum repolist
# yum update
# yum install php

ブロック画面

ブロック画面イメージ

<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="utf-8"/>
    <title>ZIA Block</title>
    <style type="text/css">
    body {
        color: block;
    }
    h1 {
        text-align: center;
    }
    h2 {
        text-align: center;
    }
    td {
        text-align: left;
    }
    </style>
</head>
<body>
    <div id="wrapper">
    <h1>Zscaler Internet Access</h1>
    <h2>Block page</h2>
    <table border="1" align="center" color="black">
        <tr><td>GET</td><td><?php if($_GET["url"] != null) { echo $_GET["url"]; echo "<br/>"; } ?></td></tr>
        <tr><td>referer</td><td><?php if($_GET["url"] != null) { echo $_GET["referer"]; echo "<br/>"; } ?></td></tr>
        <tr><td>reason</td><td><?php if($_GET["url"] != null) { echo $_GET["reason"]; echo "<br/>"; } ?></td></tr>
        <tr><td>reasoncode</td><td><?php if($_GET["url"] != null) { echo $_GET["reasoncode"]; echo "<br/>"; } ?></td></tr>
        <tr><td>timebound</td><td><?php if($_GET["url"] != null) { echo $_GET["timebound"]; echo "<br/>"; } ?></td></tr>
        <tr><td>action</td><td><?php if($_GET["url"] != null) { echo $_GET["action"]; echo "<br/>"; } ?></td></tr>
        <tr><td>kind</td><td><?php if($_GET["url"] != null) { echo $_GET["kind"]; echo "<br/>"; } ?></td></tr>
        <tr><td>rule</td><td><?php if($_GET["url"] != null) { echo $_GET["rule"]; echo "<br/>"; } ?></td></tr>
        <tr><td>cat</td><td><?php if($_GET["url"] != null) { echo $_GET["cat"]; echo "<br/>"; } ?></td></tr>
        <tr><td>user</td><td><?php if($_GET["url"] != null) { echo $_GET["user"]; echo "<br/>"; } ?></td></tr>
        <tr><td>locid</td><td><?php if($_GET["url"] != null) { echo $_GET["locid"]; echo "<br/>"; } ?></td></tr>
        <tr><td>lang</td><td><?php if($_GET["url"] != null) { echo $_GET["lang"]; echo "<br/>"; } ?></td></tr>
        <tr><td>zsq</td><td><?php if($_GET["url"] != null) { echo $_GET["zsq"]; echo "<br/>"; } ?></td></tr>
    </div>
</body>
</html>
⚠️ **GitHub.com Fallback** ⚠️