I have hosted Joomla website in public_html folder and set User friendly URL for all sub menus in the website. For that I made a joomla admin settings and also kept .htaccess file to remove index.php [sample https://arsenalit.com/index.php/services/web-design-development ] in the url in the public_html folder to work. it is working : sample url : https://arsenalit.com/services/web-design-development .
Followed by I created Python application from cpanel called ait-tools. and wrote the flask app.py with two api urls, one is root / and another is /json.
Now when I try to execute this as
https://arsenalit.com/ait-tools - working https://arsenalit.com/ait-tools/json - NOT working
Key Points
- I have added .htaccess in the ait-tools folder - NOT WORKING
- I have modifed public_html/.htaccess file itself with different settings - NOT WORKING
- If i remove the .htaccess file, Now xxx/ait-tools/json is working but Joomla website user friendly not working.
PLEASE HELP ME, IT WILL HELP ME TO PROVIDE LOT OF FREE LIBRARIES TO OUR SOFTWARE COMMUNITY.
Reference URL
Python flask app routing in cpanel: can only access root url