Thank you for using our solution. In order to achieve what you want, you will need to edit the
/opt/bitnami/apps/django/django_projects/Project/conf/httpd-app.conf file and substitute these lines
Alias /Project/static "/opt/bitnami/apps/django/lib/python3.6/site-packages/Django-2.1.2-py3.6.egg/django/contrib/admin/static"
WSGIScriptAlias /Project '/opt/bitnami/apps/django/django_projects/Project/Project/wsgi.py'
with these ones
Alias /static "/opt/bitnami/apps/django/lib/python3.6/site-packages/Django-2.1.2-py3.6.egg/django/contrib/admin/static"
WSGIScriptAlias / '/opt/bitnami/apps/django/django_projects/Project/Project/wsgi.py'
As you can see, I removed "Project" from both aliases. After that, you will need to restart Apache
sudo /opt/bitnami/ctlscript.sh restart apache
Happy to help!
Was my answer helpful? Click on