![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.ca/public_html/ |
<?php
// Direct serve without any proxy complications
$url = 'http://localhost:3000' . ($_SERVER['REQUEST_URI'] ?? '/');
// Use file_get_contents for direct access
$context = stream_context_create([
'http' => [
'method' => $_SERVER['REQUEST_METHOD'] ?? 'GET',
'timeout' => 10,
'ignore_errors' => true
]
]);
$response = file_get_contents($url, false, $context);
if ($response === false) {
// Fallback page
header('Content-Type: text/html; charset=UTF-8');
echo '<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Avocat.Quebec - Service Temporairement Indisponible</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding: 50px; }
.logo { font-size: 2.5em; margin-bottom: 20px; }
.message { margin: 20px 0; }
.link { color: #667eea; text-decoration: none; font-weight: bold; }
</style>
</head>
<body>
<div class="logo">Avocat.Quebec</div>
<div class="message">Service temporairement indisponible</div>
<div class="message">
<a href="mailto:support@lavocat.ca" class="link">Contactez le support</a>
</div>
</body>
</html>';
} else {
// Output the response directly without any headers
echo $response;
}
?>