Tag archive for ‘mod’

EasyApache Custom Modules

Custom Apache and PHP modules add features to the EasyApache system, and are accessible from both the command line and graphical WHM interfaces. These modules are compiled into Apache and/or PHP just like the modules provided with EasyApache. Before you begin You can find documentation for creating custom modules your server at WHM > EasyApache [...]

How To Manage Apache Resources Limits With mod_slotlimit (Debian Etch)

mod_slotlimit is an Apache module that using dynamic slot allocation algorithm and static rules, can manage resources used for each running site.   1. Installation In order to compile mod_slotlimit, you will need to have apxs2 (APache eXtension tool) installed and configured with Apache. The follow command will install it: apt-get install apache2-prefork-dev Now we [...]

Linux: Forcing Apache to correct misspellings of URL

Apache has mod_speling for automatic URL spell-correction. For example when on this site you can request the page using following format: This module help visitor to get correct content instead of error 404 – document not found and you can also omit file extension such as .pl, .php, .html etc in urls references. It attempts [...]

FreeBSD > Becoming super user (su) or enabling su access to user

The superuser is a privileged user with unrestricted access to all files and commands. The superuser has the special UID (user ID) 0. You need to become super user (root) only when tasks need root permissions. Here is how to become super user: 1) At shell prompt type su and press enter key, when prompted [...]

Installing Python2.6, mod_wsgi, and Python-MySQL on a CentOS box

UPDATED: January 31st, 2011: Python 2.6 now is in the normal EPEL repositories. There are some changes in the explanations below I’ve always hated Centos, probably because I’ve never been in a situation where I had to deal with the network security (other than the obvious stuff to ward off cross-site-scripting attacks and the such). [...]

DirectAdmin with mod_fcgid

All steps below should be done with a new clean install of DirectAdmin. It is possible to make it work on the server that already have users on it. I did that and it works perfectly fine. However, the steps will be a bit different and it won’t work if you just follow instruction below. [...]

make mod_security get an error

/usr/lib64/apr-1/build/libtool –silent –mode=compile gcc -prefer-pic -DLINUX =2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/include -I/usr/include/apache -I/usr/include/apr-1 -I/usr/include/apache -O2 -g -Wall -DWITH_PCRE _STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 – I/usr/include/apache -I/usr/include/apache -I. -I/usr/local/directadmin/custombuild/httpd-2.2.17/srclib/apr/include -I/usr/local/directadmin/custombuild/httpd-2.2.17/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.2.17/ srclib/apr-util/xml/expat/lib -I/usr/local/include -I/usr/include -I/usr/kerberos/include -I/usr/local/include -I/usr/local/include/libxml2 -c -o msc_pcre.lo m sc_pcre.c && touch msc_pcre.slo msc_pcre.c: In function ‘msc_pregcomp_ex’: msc_pcre.c:73: error: invalid application of ‘sizeof’ to [...]

How to install a mod_rewrite on Ubuntu

The default LAMP installation on Ubuntu 10 server doesn’t include mod_rewrite module. This module is required by WordPress MU. I tried to install a WordPress MU on my Ubuntu server with LAMP. To install mod_rewrite, run command as below: sudo a2enmod rewrite There is still another issue for WordPress MU installation. It is need a [...]

problem downgrade apache 2.2 to 2.0

E: API module structure ‘suphp_module’ in file /usr/lib/apache/mod_suphp.so is garbled – expected signature 41503230 but saw 41503232 – perhaps this is not an Apache module DSO, or was compiled for a different Apache version? R: cd /usr/local/directadmin/custombuild ./build suphp If still problem you can: cd /usr/local/directadmin/custombuild ./build php y Incoming search terms:centos downgrade apache (1)directadmin [...]

Chrooting Apache2 With mod_chroot On Fedora 12

This guide explains how to set up mod_chroot with Apache2 on a Fedora 12 system. With mod_chroot, you can run Apache2 in a secure chroot environment and make your server less vulnerable to break-in attempts that try to exploit vulnerabilities in Apache2 or your installed web applications. I do not issue any guarantee that this [...]