Deploying flask app to cpanel, not routing properly, 500 errors everywhere

Solution
RewriteEngine On 
RewriteRule ^http://%{HTTP_HOST}%{REQUEST_URI} [END,NE]