OwlCyberSecurity - MANAGER
Edit File: .htaccess.22
# Enable Rewrite Engine RewriteEngine On # Required for proxying RewriteOptions inherit # Proxy API routes to Node.js backend RewriteCond %{REQUEST_URI} ^/api(/.*)?$ [NC] RewriteRule ^api(/.*)?$ http://127.0.0.1:2005/api$1 [P,L] # Proxy AdminJS routes to Node.js backend RewriteCond %{REQUEST_URI} ^/admin(/.*)?$ [NC] RewriteRule ^admin(/.*)?$ http://127.0.0.1:2005/admin$1 [P,L] # Handle WebSocket (optional for AdminJS if used) RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteRule /(.*) ws://127.0.0.1:2005/$1 [P,L]