trigger 403 in php so that it shows the ErrorDocument
snippet in htaccess

trigger 403 in php so that it shows the ErrorDocument

user3018

<?php 
header("HTTP/1.1 403 Unauthorized");
// either:
header("Location: /403.php");
// or:
include('403.php');
exit;
?>