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 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.
