mallika1 Posted December 15, 2019 Posted December 15, 2019 Hi, Please enable "setup python app" for me. Appreciate if your help. Thanking you in Advance.
Sn1F3rt Posted December 15, 2019 Posted December 15, 2019 Please follow this tutorial: https://wiki.helionet.org/Django The option your asking for isn't available in our cPanel.
wolstech Posted December 15, 2019 Posted December 15, 2019 There is no such option. The tutorial linked by sohamb03 is the way it's done here.
mallika1 Posted December 19, 2019 Author 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.
mallika1 Posted December 19, 2019 Author 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.
mallika1 Posted December 19, 2019 Author Posted December 19, 2019 Hi, Please provide help to host django web application. We are facing the technical issues. Regards, Mallikarjuna bestha.
wolstech Posted December 19, 2019 Posted December 19, 2019 Krydos is the only one who really knows anything about Django. Lets see if he knows.
Krydos Posted December 20, 2019 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]
mallika1 Posted December 20, 2019 Author 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.
mallika1 Posted December 20, 2019 Author 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
Krydos Posted December 20, 2019 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
Krydos Posted December 21, 2019 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.
Recommended Posts