cd /usr/local/src FOR APache 2 wget http://apache.hoxt.com/httpd/modpython/mod_python-3.3.1.tgz FOR Apache 1 wget http://apache.hoxt.com/httpd/modpython/mod_python-2.7.11.tgz 2) Configure & install Python cd mod_python-2.7.11 ./configure –with-apxs=/usr/local/apache/bin/apxs (check where your apxs is by typing: locate apxs) make make install 3) Configure Apache pico -w /usr/local/apache/conf/httpd.conf Locate your LoadModule – section by pressing CTRL-W and typing “LoadModule”. Add the following line under […]
See MoreTag: cpanel web hosting
Install mod_log_sql
wget http://www.outoforder.cc/downloads/mod_log_sql/mod_log_sql-1.101.tar.bz2 bunzip tar -xvf cd /configure –with-apxs=/usr/local/apache/bin/apxs –with-mysql=/usr make make install mysql -u root -p mysql> create database apachelog; Configuring Apache to log to MySQL using mod_log_sql in httpd.conf LoadModule log_sql_module /usr/local/apache/libexec/mod_log_sql.so LoadModule log_sql_mysql_module /usr/local/apache/libexec/mod_log_sql_mysql.so
See MoreMod_Bandwidth
“Mod_bandwidth” (mod bandwidth) is a module for the Apache webserver that enable the setting of server-wide or per connection bandwidth limits, based on the directory, size of files and remote IP/domain. For Apache 1.3x. ONLY! This how-to is not compatible with old versions of apache, including but not limited to 1.3beta How to install mod_bandwidth […]
See More