What Should Be The Url Of My Django Application
I have uploaded my first Django Application called survey (Its a work in progress) using mod_wsgi with Apache on an Ubuntu VM but I don't know what the URL of it should be. My VM h
Solution 1:
The URL should be http://phaedrus.scss.tcd.ie/bias_experiment/surveythree/
I think there is one tiny error in the Apache configuration, which might be my fault (sorry): you need a trailing slash, so:
WSGIScriptAlias /bias_experiment/ /var/www/bias_experiment/src/bias_experiment/index.wsgi
Also note that you don't need to run manage.py runserver, that's pointless as Apache is serving your app.
Solution 2:
Is this it in your /static/ folder?
Solution 3:
Try with this changes:
Apache conf:
WSGIApplicationGroup %{GLOBAL}
ServerName phaedrus.scss.tcd.ie
WSGIScriptAlias /bias_experiment/ /var/www/bias_experiment/src/bias_experiment/index.wsgi
WSGIDaemonProcess bias_experiment processes=4 threads=25 display-name=%{GROUP}
WSGIProcessGroup bias_experiment
WSGIPassAuthorization On
And you need to restart the Apache server.
Post a Comment for "What Should Be The Url Of My Django Application"