I’m tottaly new to CyberPanel and OpenLiteSpeed.
I have an Django website and I’m trying to deploy on OpenLiteSpeed, I follow many tutorials to create:
- an virtual env,
- install all packages
- configure de context on virtual host
On my settings.py:
ALLOWED_HOSTS = ['*'] STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static-files')
My Context from Virtual Host:
## App Server Context Definition URI : / Location - /home/<my-domain>/public_html/<my-app-folder> Binary Path - /usr/local/lsws/fcgi-bin/lswsgi| Application Type - WSGI| Startup File - <my-app-folder>/wsgi.py| Environment: PYTHONPATH=/home/pro.climai.org/public_html/lib/python3.6:/home/pro.climai.org/public_html/bin/pyhton LS_PYTHONBIN=/home/pro.climai.org/public_html/bin/pyhton PYTHONHOME=/home/pro.climai.org/public_html/|
When I try to access my site:
500 ## Internal Server Error An internal server error has occured.
Is there any to log to know what’s going on here?
A also try to create sample Django project and the error 500 still happening.
Would be great to know what settings I can check.
thank you so much and sorry for my english.