User Tools

Site Tools


mod_vhs:contributions

Some contributions

Some members has done some contributions.

SysCP

Here is copy of the content of http://forum.syscp.org/contributions-for-syscp-1-4-series/mod_vhs-module, done by Rene Kanzler :

Hello SysCP Community

This Module extends an existing Version of SysCP to work with the Apache module mod_vhs and apache2-mpm-itk.

Summary:

This addon for SysCP creates a MySQL view for libhome and mod_vhs to configure virtual hosts on-the-fly. That means you can add, delete or change domain and customer settings in SysCP without restarting Apache. Furthermore you can use apache2-mpm-itk to replace your complicated mod_fcgid or suPHP setup.

To learn more about mod_vhs and mpm-itk read:

Requirements:

  1. An working installation of SysCP 1.2.19
  2. Apache 2.2.x with or without mpm-itk
  3. mod_vhs
  4. libhome
  5. libnss-mysql

Brief installation instructions:

  1. download the addon http://www.downit.de/854165 (mirrored here).
  2. tar -C /YOUR_SYSCP_ROOT -zxvf syscp-mod_vhs-addon-*.tar.gz
  3. read the included instructions in /YOUR_SYSCP_ROOT/install/modules/modvhs/INSTALL

I hope you like it and as usually all comments and suggestions are very welcomed.

Cheers Rene

mod_log_sql

Here is copy of the content of http://lists.outoforder.cc/pipermail/mod_log_sql/2009-June/000333.html, done by Rene Kanzler :

Hello

I have created a small patch to get mod_log_sql working with X-Forwarded-For and mod_vhs HTTP header.

The new characters in the log format-string are “x” and “g”.

To log real IP adresses behind a proxy replace “h” with “x” in your log format-string.

If no X-Forwarded-For HTTP header is found the remote IP address will be logged.

mod_vhs users should replace “v” or “V” with “g” according to the manual at http://openvisp.fr/doku/doku.php?id=mod_vhs:logs

If the mod_vhs HTTP header is not found the virtual host name will be logged.

This patch is against mod_log_sql version 1.100.

This patch is only tested with Apache 2.2.x

Hopefully somebody finds this useful. The patch is attached ;-)

Cheers Rene

mod_vhs/contributions.txt · Last modified: 2009/08/19 14:59 by kiwi