Skip to content Skip to sidebar Skip to footer

Django Application Hosted On Ubuntu Vm With Apache And Mod_wsgi Not Showing Up

I have uploaded my first Django Application but I am having trouble accessing it. The application is called survey and has been uploaded onto an Ubunto VM running Apache with mod_w

Solution 1:

I think the virtual host is a non-starter, because the server name you are using is the main name of that server. So we can probably delete that altogether, and we need to concentrate on what's in /sites-available/default. And I think the only thing wrong there is that we don't need a trailing slash in the alias:

WSGIScriptAlias /bias_experiment /var/www/bias_experiment/src/bias_experiment/index.wsgi

(I might have previously steered you doubly wrong on that, but this time I found the recommendation in the mod_wsgi documentation directly from the author, Graham Dumpleton.)

Post a Comment for "Django Application Hosted On Ubuntu Vm With Apache And Mod_wsgi Not Showing Up"