MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 4 as of 2015-03-12 21:41:58
  • Python
  • modpython

modpython

Mod_python is an Apache module that embeds the Python interpreter within the server. http://modpython.org/

Docs http://modpython.org/live/current/doc-html/contents.html

Build from source in Slackware64 14

  • su
  • cd /tmp
  • wget http://dist.modpython.org/dist/mod_python-3.5.0.tgz

  • tar xvzf mod_python-3.5.0.tgz
  • cd mod_python-3.5.0
  • make clean
  • make
  • make install

In /usr/lib64/httpd/modules/mod_python.so

Create /etc/httpd/mod_python.conf

LoadModule python_module /usr/lib64/httpd/modules/mod_python.so

Edit /etc/httpd/httpd.conf

Include /etc/httpd/mod_python.conf 
  • chmod 755 /etc/rc.d/rc.httpd
  • /etc/rc.d/rc.httpd start
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01