|
Your comment on
|
||
![]() |
||
FarbflashMultimedia Production |
|
||
|
home :: Dokumente :: MacOSX :: Leopard :: ApacheModules | Page 1 of 3 total pages | Next
Montag, 21 April 2008mod_wsgi on leopardas all other modules for the standard apache installation on leopard the mod_wsgi module must be compiled as 64-bit module too. Note that the newer versions of mod_wsgi 2.0c4 and above work out of the box. No need to patch anything. Thanks to Graham Dumpleton! So the below instructions to patch the older versions are obsolete from now on, but still I leave them in place, as they may give hints for other purposes. In order to do so, patch the installer: downloaded mod_python: wget http://modwsgi.googlecode.com/files/mod_wsgi-1.2.tar.gz (or, if you are adventurous, like me) wget http://modwsgi.googlecode.com/files/mod_wsgi-2.0c2.tar.gz unstuff: tar -xzf mod_wsgi-1.2.tar.gz cd mod_wsgi-1.2 (or) tar -xzf mod_wsgi-2.0c2.tar.gz cd mod_wsgi2.0c2 configure: ./configure now patch MakeFile:
and now: make && sudo make install now edit your apache config file (sudo nano /etc/apache2/httpd.conf) in order to load mod_python add (or uncomment) the following line: LoadModule wsgi_module libexec/apache2/mod_wsgi.so You can check the architecture of your mod_wsgi module in the terminal with: file /usr/libexec/apache2/mod_wsgi.so It should return the following result: /usr/libexec/apache2/mod_wsgi.so: Mach-O universal binary with 3 architectures /usr/libexec/apache2/mod_wsgi.so (for architecture ppc7400): Mach-O bundle ppc /usr/libexec/apache2/mod_wsgi.so (for architecture i386): Mach-O bundle i386 /usr/libexec/apache2/mod_wsgi.so (for architecture x86_64): Mach-O 64-bit bundle x86_64Comments: Tuesday, 18.December 2007 04:42:45 Graham Dumpleton wrote: Add comment | /Dokumente/MacOSX/Leopard/ApacheModules | permanent link |
Farbflash trac projects
Search
Tag cloud
apache,
apache
Category
RSS Feed
Links
Contact
Disclaimer
Donate
If one of the open source examples on this page helped you to get a
paid job delivered, you might want to contribute and support my work
by donating via PayPal...
Private
|
||