Follow instructions in: http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Apache_Modules_Loaded
Specifically, find the Apache httpd executable (which could be named different on your system) and run it with the -M option. If you are using standard binary distribution packages and have done the correct command to enable the module and it still doesn't show wsgi_module in the list then you have broken somehow your Apache installation. What manual changes have you made to Apache configuration files? Are you using the originals or have you replaced them in whole or in part? Graham On 2 May 2011 21:56, tan3 <[email protected]> wrote: > Hello, > > I did that command also. But too the error :( > > Thank you > > On May 1, 10:18 pm, Bo Daley <[email protected]> wrote: >> in ubuntu you should be able to do something like: >> >> sudo a2enmod wsgi >> sudo /etc/init.d/apache2 reload >> >> and it will set up the apache configuration for you. >> >> bo. >> >> >> >> >> >> >> >> On Mon, May 2, 2011 at 12:14 PM, tan3 <[email protected]> wrote: >> > Hello, >> >> > I installed it using "apt-get install libapache2-mod-wsgi " in ubuntu. >> > So need i still add the Load module command? >> >> > Thank you, >> >> > On May 2, 4:28 am, Graham Dumpleton <[email protected]> >> > wrote: >> >> Your post came through lacking additional content. Did you intend >> >> there to be anything in it? >> >> >> Graham >> >> >> On 1 May 2011 22:17, Nagaraj Tantri <[email protected]> wrote: >> >> >> > On Fri, Apr 29, 2011 at 7:45 AM, tan3 <[email protected]> wrote: >> >> >> >> Hi, >> >> >> >> I installed apache2 and mod-wsgi in ubuntu. I even entered the config >> >> >> details for WSGI in defualt of apache2 >> >> >> >> Alias /media/ /home/nagaraj/ghar/templates/media/ >> >> >> >> <Directory /home/nagaraj/ghar/templates/media> >> >> >> Order deny,allow >> >> >> Allow from all >> >> >> </Directory> >> >> >> >> WSGIScriptAlias / /home/nagaraj/ghar/apache/django.wsgi >> >> >> >> <Directory /home/nagaraj/ghar/apache> >> >> >> Order allow,deny >> >> >> Allow from all >> >> >> </Directory> >> >> >> >> Which here is my Django project related path. >> >> >> >> But i got an error saying >> >> >> Syntax error on line 50 of /etc/apache2/sites-enabled/000-default: >> >> >> Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a >> >> >> module not included in the server configuration >> >> >> Action 'configtest' failed. >> >> >> The Apache error log may have more information. >> >> >> ...fail! >> >> >> >> Can anyone tell, what is wrong here? Please >> >> >> > -- >> >> > Regards, >> >> > Nagaraj Tantri >> >> > (Cell : +919743232150) >> >> >> > -- >> >> > 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 >> > athttp://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. > > -- 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.
