Python flask app routing in cpanel: can only access root url

Add the following rules to your .htaccess in the directory of your application url



 RewriteEngine on  

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

留言