#!/bin/sh # Author: Athmane Madjoudj t_Log "Running $0 - Apache httpd mod_python is functional" if (t_GetPkgRel basesystem | grep -q el5) then cat > /etc/httpd/conf.d/tf_mptest.conf < AddHandler mod_python .py PythonHandler mptest PythonDebug On EOF mkdir -p /var/www/html/mptest/ cat > /var/www/html/mptest/mptest.py <