1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/mod_myvhost/pkg-plist
Olli Hauer 35f04c5630 - new Port mod-myvhost
mod_myvhost is Apache module for dynamically configured name based mass virtual
hosting with PHP, virtual host's configurations and PHP settings are stored in
database.

No need to have every vhost in apache's configuration file, no need to restart
apache after configuration changed (vhost added|deleted, vhost rootdir changed,
vhost unblocked/unblocked...).

After all, it is capable to change settings of PHP4/5 dynamically (if php is
loadable module or it is linked with apache) for any vhost. By default, it sets
open_basedir as vhost's rootdir to prevent user from stoling files from other
users and from your server, but you have ability to change almost any parameter
that exists in php.ini, for example, you can turn on safe_mode or
register_globals for particular vhost, if it has old php scripts that use global
variables.

WWW: http://code.google.com/p/mod-myvhost/

requested on FreeBSD-apache list by Igor Popov <ipopovi@gmail.com> (Author)
http://lists.freebsd.org/pipermail/freebsd-apache/2012-March/002700.html

Feature safe:	yes
2012-04-06 13:31:48 +00:00

5 lines
276 B
Plaintext

%%APACHEMODDIR%%/%%AP_MODULE%%
@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
@unexec echo "Don't forget to remove all mod_myvhost-related directives in your httpd.conf"
@unexec /usr/bin/sed -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf