This is how I did it on my ubuntu. Create a text file in mods-available directory command : gedit /etc/mods-available/wsgi.load
Paste this in it code : LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so cd into mods-availble directory command : cd /etc/apache2/mods-available Creat a symbolic link by command : a2enmod wsgi (standing for Apache2 Enable Mod wsgi) (which is same as ln -s stuff) On Mon, Jul 12, 2010 at 3:44 AM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > Disable SELinux extensions or work out how to configure it properly. > Variant of issue mentioned in: > > > http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Secure_Variants_Of_UNIX > > See also: > > http://www.crypt.gen.nz/selinux/disable_selinux.html > > Graham > > On 12 July 2010 03:51, tazimk <tazimkol...@gmail.com> wrote: > > hi, > > > > Initially I installed python2.6 as follows > > > > $./configure --enabled-shared > > $make > > $make install > > > > Then I installed mod_wsgi as follows : > > > > $./configure --with-python=/usr/local/bin/python2.6 > > $make > > $make install > > > > > > In /etc/httpd/conf/ > > > > added following statements in httpd.conf file > > $ vim httpd.conf > > > > #This should be included somewhere at the top of this file > > LoadModule wsgi_module modules/mod_wsgi.so > > > > #somewhere at the bottom > > Include "root/webexample/apache/apache_django_wsgi.conf" > > > > > > webexample is my project name > > > > Also, created a link for libpython2.6.so as follows : > > > > $cd /usr/local/lib/python2.6/config > > > > $ln -s ../ ../libpython2.6.so > > > > Then started apache server > > > > service httpd start > > Starting httpd: Syntax error on line 191 of /etc/httpd/conf/ > > httpd.conf: > > Cannot load /etc/httpd/modules/mod_wsgi.so into server: > > libpython2.6.so.1.0: failed to map segment from shared object: > > Permission denied > > [FAILED] > > > > Can anyone help me out to figure out this error ? > > I have throughly checked Installation issues,Configuration issues but > > still unable to figure out > > > > Thanks in advance > > > > -- > > 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<modwsgi%2bunsubscr...@googlegroups.com> > . > > 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 modw...@googlegroups.com. > To unsubscribe from this group, send email to > modwsgi+unsubscr...@googlegroups.com<modwsgi%2bunsubscr...@googlegroups.com> > . > 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 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.