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

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

  • 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