Once again don't put anything in the httpd.conf or apache2.conf on Ubuntu. Look in the /etc/apache2/sites-available/ directory. You should see a file named default this file will be symlinked to /etc/apache2/sites-enabled/. If you are only testing and are not working on production code you can put your mod_wsgi config in the default file. Add something like this:
WSGIScriptAlias /myapps /var/www/wsgi-scripts/example.wsgi <Directory /var/www/wsgi-scripts> Order allow,deny Allow from all </Directory> When you want to write production code you will need a more complicated config that the above, but this should get you working. ~Carl On Tue, Aug 31, 2010 at 4:17 PM, V <nu.vs...@gmail.com> wrote: > I installed and am currently configuring mod_wsgi on Ubuntu. I > followed the directions in the Quick Configuration Guide to add the > line "WSGIScriptAlias /myapp /var/www/wsgi-scripts/example.wsgi" to / > etc/apache2/httpd.conf, and also added: > > <Directory /var/www/wsgi-scripts> > Order allow,deny > Allow from all > </Directory> > > but when I go to the specified URL, I just see a plaintext version of > the code from the test application file example.wsgi. It's like I'm > viewing the source for the page, on the page. Any suggestions on how I > might properly configure mod_wsgi would be greatly appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to modw...@googlegroups.com. > To unsubscribe from this group, send email to > modwsgi+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- ------------------------------------------------------------------------------- Carl J. Nobile (Software Engineer) carl.nob...@gmail.com ------------------------------------------------------------------------------- -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modw...@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.