mallika1 Posted December 15, 2019 Share Posted December 15, 2019 Hi, Please enable "setup python app" for me. Appreciate if your help. Thanking you in Advance. Link to comment Share on other sites More sharing options...
Sn1F3rt Posted December 15, 2019 Share Posted December 15, 2019 Please follow this tutorial: https://wiki.helionet.org/Django The option your asking for isn't available in our cPanel. Link to comment Share on other sites More sharing options...
wolstech Posted December 15, 2019 Share Posted December 15, 2019 There is no such option. The tutorial linked by sohamb03 is the way it's done here. Link to comment Share on other sites More sharing options...
mallika1 Posted December 19, 2019 Author Share Posted December 19, 2019 Hi sohamb, I have followed instructions which they mentioned. However it shows 500 error. Please check it once. Url: apitunion.com Regards, Mallikarjuna bestha. Link to comment Share on other sites More sharing options...
mallika1 Posted December 19, 2019 Author Share Posted December 19, 2019 Hi sohamb, I have followed instructions which they mentioned. However it shows 500 error. Please check it once. Url: apitunion.com Regards, Mallikarjuna bestha. Link to comment Share on other sites More sharing options...
mallika1 Posted December 19, 2019 Author Share Posted December 19, 2019 Hi, Please provide help to host django web application. We are facing the technical issues. Regards, Mallikarjuna bestha. Link to comment Share on other sites More sharing options...
wolstech Posted December 19, 2019 Share Posted December 19, 2019 Krydos is the only one who really knows anything about Django. Lets see if he knows. Link to comment Share on other sites More sharing options...
Krydos Posted December 20, 2019 Share Posted December 20, 2019 In your .htaccess file you have this RewriteRule ^(.*)$ hello/dispatch.wsgi/$1 [QSA,PT,L] and according to the guide it should be RewriteRule ^(.*)$ hello/hello/dispatch.wsgi/$1 [QSA,PT,L] Link to comment Share on other sites More sharing options...
mallika1 Posted December 20, 2019 Author Share Posted December 20, 2019 Hi Krydos, I have updated still shows same error. Please let me know wheather I am right or not? Regards, Mallikarjuna bestha. Link to comment Share on other sites More sharing options...
mallika1 Posted December 20, 2019 Author Share Posted December 20, 2019 Hi Krydos, I have updated. Access file as per instructions. Still the django opening page not displayed. It shows the folder .Please let me know any update required. Please help. Regards, Mallikarjuna bestha Link to comment Share on other sites More sharing options...
Krydos Posted December 20, 2019 Share Posted December 20, 2019 You have all your files in the wrong directory. Your files look like this $ tree ../hello/ ../hello/ ├── asgi.py ├── dispatch.wsgi ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── settings.cpython-37.pyc │ ├── urls.cpython-37.pyc │ └── wsgi.cpython-37.pyc ├── settings.py └── urls.py and according to the guide they're supposed to look like this $ tree ../hello/ ../hello/ ├── db.sqlite3 ├── hello/ │ ├── __init__.py │ ├── __pycache__/ │ │ ├── ... │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── manage.py Link to comment Share on other sites More sharing options...
Krydos Posted December 21, 2019 Share Posted December 21, 2019 You seem to be really struggling with this, and I agree setting up Django can be rather complicated. I went ahead and set up a functional test django site at http://apitunion.com/ for you. Feel free to familiarize yourself with the files and their contents. Then make small changes and test frequently. If you break something revert your last change, and figure out what went wrong. Let us know if you need any help. Link to comment Share on other sites More sharing options...
Recommended Posts