Hi there, I'm a newbie to wsgi, making a transitions from php to django. Please excuse the imprecise language I'm following the instructions here to install a django app. Debian squeeze, apache 2.2.16, django 1.3, python 2.6.6
https://wiki.sourcefabric.org/display/Booktype/How+to+install+it+on+Debian#HowtoinstallitonDebian-DeployusingApache(recommended).1 The instructions tell me to place a site in sites-available. The key lines appear to be <VirtualHost *:80> ServerName booktype.clearerchannel.org SetEnv HTTP_HOST "booktype.clearerchannel.org" WSGIScriptAlias / /home/booktype/mybooktype/booki.wsgi My error is that I can see the flat apache-served files but not the proper web interface. By blind trial and error, I placed the WSGIScriptAlias / /home/booktype/mybooktype/booki.wsgi line before the <VirtualHost *:80> and the site looked fine. However, it took over all the other sites on the webserver too. Changing the line to WSGIScriptAlias /home/booktype/mybooktype/ /home/booktype/mybooktype/booki.wsgi doesn't help. The way the mod_vhosts_alias is is set up is via the following lines in apache2.conf (pasted at end of message) It would be great if anyone could let me know how to get this working without breaking my other sites, or send me in the right direction for docs to read. nice one Mick <VirtualHost 209.234.253.19:80> UseCanonicalName Off VirtualDocumentRoot /home/vhosts/%0 <Directory /home/vhosts> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes FollowSymLinks IncludesNoExec <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> </VirtualHost> -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
