I implemented a Django project with MySQL backend. It runs well using "Python manage.py runserver."
Apache seems installed well with no errors. I can access the default apache server. However, I couldn't make the apache web server and Django work together.
I followed the link below. https://studygyaan.com/django/how-to-setup-django-applications-with-apache-and-mod-wsgi-on-ubuntu
I edited 000-default.conf and djangoproject.conf on the server.
Could you give me some advice where I should look into?
Version information. Python: 3.8.5 Django: 3.0 Ubnutu: 20.04
When I run "sudo systemctl status apache2"
● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-04-14 17:18:03 UTC; 6 days ago Docs: https://httpd.apache.org/docs/2.4/ Main PID: ****(apache2) Tasks: ** (limit: **) Memory: M CGroup: /system.slice/apache2.service ├─ **** /usr/sbin/apache2 -k start ├─ /usr/sbin/apache2 -k start └─ /usr/sbin/apache2 -k start
Aucun commentaire:
Enregistrer un commentaire