# =============================================================================
# cPanel / Apache + Phusion Passenger — copy this file to `.htaccess`
# in your application root (same folder as passenger_wsgi.py), then edit
# the three quoted paths below to match your account from "Setup Python App".
# =============================================================================

PassengerEnabled On
PassengerAppRoot "/home/CPANEL_USER/agentx.wisdomaxis.com"
PassengerBaseURI /
PassengerPython "/home/CPANEL_USER/virtualenv/agentx_wisdomaxis_com/3.11/bin/python"
PassengerStartupFile passenger_wsgi.py

# Optional: reduce noisy Passenger headers in development
# PassengerFriendlyErrorPages on

<IfModule mod_rewrite.c>
  RewriteEngine On
  # If Passenger is not handling everything, ensure requests reach the app:
  # RewriteRule ^(.*)$ - [PT,L]
</IfModule>
