{
    "status": "Server Rewrite & Header Processing Ready",
    "ready": true,
    "header_audit": {
        "timestamp": "2026-10-07 07:38:43",
        "iso_timestamp": "2026-10-07T07:38:43+00:00",
        "sapi": "fpm-fcgi",
        "server_software": "Apache",
        "request_method": "GET",
        "request_uri": "/env_diagnostics.php?format=json",
        "query_string": "format=json",
        "http_host": "1anon.net",
        "server_name": "1anon.net",
        "server_addr": "162.213.248.20",
        "server_port": 443,
        "remote_addr": "216.73.216.238",
        "protocol": "HTTP/1.1",
        "scheme": "https",
        "ssl_tls_sni": "1anon.net",
        "document_root": "/home/oneanonnet/public_html",
        "script_filename": "/home/oneanonnet/public_html/env_diagnostics.php",
        "redirect_status": null,
        "redirect_url": null,
        "redirect_query": null,
        "http_authorization": "Not Sent",
        "headers_count": 5,
        "headers": {
            "Host": "1anon.net",
            "Accept-Encoding": "gzip, br, zstd, deflate",
            "Cookie": "PHPSESSID=b5...[REDACTED]",
            "User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
            "Accept": "*/*"
        }
    },
    "rewrite_audit": {
        "rewrite_verified": true,
        "engine_type": "Apache mod_rewrite (.htaccess)",
        "htaccess_path": "/home/oneanonnet/public_html/.htaccess",
        "htaccess_exists": true,
        "htaccess_size_bytes": 2410,
        "directives_check": {
            "RewriteEngine On": true,
            "DirectoryIndex index.php": true,
            "HTTP_AUTHORIZATION Passthrough": true,
            "Sensitive File Block (db_connect.php -> [F,L])": true,
            "Virtual Route Rule (^([a-zA-Z0-9_-]+)/?$ -> index.php?tab=$1)": true
        },
        "root_directory_aligned": true,
        "document_root": "/home/oneanonnet/public_html",
        "application_root": "/home/oneanonnet/public_html",
        "virtual_route_probe": {
            "tested_path": "/dashboard",
            "routed_ok": true,
            "http_code": 200,
            "latency_ms": 37.5,
            "detail": "Clean virtual path '/dashboard' rewritten to root index.php?tab=dashboard [HTTP 200 in 37.5ms]"
        },
        "security_block_probe": {
            "tested_path": "/db_connect.php",
            "blocked_ok": true,
            "http_code": 403,
            "detail": "Direct HTTP request to '/db_connect.php' blocked with HTTP 403 Forbidden"
        }
    },
    "log_files": {
        "headers_log": "/home/oneanonnet/public_html/logs/http_headers_diagnostic.log",
        "json_report": "/home/oneanonnet/public_html/storage/env_diagnostics_latest.json"
    }
}