The mod_wsgi module hasn't been enabled or the LoadModule directive to load it not added to Apache configuration. Thus Apache doesn't know what to do with the WSGIScriptAlias directive.
BTW, am presuming here the name of the directive as you quoted from message was wrong. It is WSGIScriptAlias, not WSGI_scriptAlias. Graham On Friday, 9 March 2012, truongxuan quang <[email protected]> wrote: > Hi all > I got this error "Restarting web server > apache2 Syntax error on > line 26 of /etc/apache2/sites-enabled/000-default: > Invalid command 'WSGI_scriptAlias', perhaps misspelled or defined by a > module not included in the server configuration > " > > when I tried to configure my 000-default as bellow > > WSGI_scriptAlias /test/srv1 /usr/local/test/servizio1/srz1.py > <Directory "/usr/local/test/servizio1"> > AllowOverride None > Options None > Order deny,allow > Allow from all > </Directory> > > i have already checked all my installation it seem wsgi to be > installed in my computer on right way. If someone know how to solve > this problem please help me. > > THanks > > Zuang > > -- > You received this message because you are subscribed to the Google Groups "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]. > For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
