mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-24 06:27:07 -04:00
Added sample apache config file.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3218 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
@@ -209,6 +209,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
23
configure
vendored
23
configure
vendored
@@ -645,6 +645,7 @@ LDFLAGS
|
||||
CXXFLAGS
|
||||
CXX
|
||||
ENABLE_MMAP
|
||||
WEB_HOST
|
||||
WEB_GROUP
|
||||
WEB_USER
|
||||
CGI_PREFIX
|
||||
@@ -737,6 +738,7 @@ with_webdir
|
||||
with_cgidir
|
||||
with_webuser
|
||||
with_webgroup
|
||||
with_webhost
|
||||
enable_debug
|
||||
enable_crashtrace
|
||||
enable_mmap
|
||||
@@ -1392,6 +1394,7 @@ Optional Packages:
|
||||
--with-cgidir=<path> prefix of cgi directory
|
||||
--with-webuser=<user> name of web user, default apache
|
||||
--with-webgroup=<group> name of web group, default apache
|
||||
--with-webhost=<hostname> name of web hostname, default zm.local
|
||||
|
||||
Some influential environment variables:
|
||||
ZM_DB_HOST Hostname where ZoneMinder database located, default localhost
|
||||
@@ -3092,6 +3095,23 @@ fi
|
||||
|
||||
|
||||
|
||||
WEB_HOST=zm.local
|
||||
|
||||
# Check whether --with-webhost was given.
|
||||
if test "${with_webhost+set}" = set; then :
|
||||
withval=$with_webhost; WEB_HOST=$with_webhost
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You can call configure with the --with-webhost option.
|
||||
This tells configure what the host name is for name based virtual hosting. This is only used to populate the sample web/zmHttpd.conf file.
|
||||
e.g. --with-webhost=zm.localdomain" >&5
|
||||
$as_echo "$as_me: WARNING: You can call configure with the --with-webhost option.
|
||||
This tells configure what the host name is for name based virtual hosting. This is only used to populate the sample web/zmHttpd.conf file.
|
||||
e.g. --with-webhost=zm.localdomain" >&2;}
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
ENABLE_DEBUG=yes
|
||||
# Check whether --enable-debug was given.
|
||||
if test "${enable_debug+set}" = set; then :
|
||||
@@ -9277,7 +9297,7 @@ fi
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile zm.conf zmconfgen.pl db/Makefile db/zm_create.sql scripts/Makefile scripts/zm scripts/zmaudit.pl scripts/zmcontrol.pl scripts/zmdc.pl scripts/zmfilter.pl scripts/zmpkg.pl scripts/zmtrack.pl scripts/zmtrigger.pl scripts/zmupdate.pl scripts/zmvideo.pl scripts/zmwatch.pl scripts/zmx10.pl scripts/zmdbbackup scripts/zmdbrestore scripts/zmeventdump scripts/zmlogrotate.conf scripts/ZoneMinder/lib/ZoneMinder/Base.pm scripts/ZoneMinder/lib/ZoneMinder/Config.pm scripts/ZoneMinder/lib/ZoneMinder/Memory.pm scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm src/Makefile src/zm_config.h web/Makefile web/ajax/Makefile web/css/Makefile web/graphics/Makefile web/includes/Makefile web/includes/config.php web/js/Makefile web/lang/Makefile web/skins/Makefile web/skins/classic/Makefile web/skins/classic/ajax/Makefile web/skins/classic/css/Makefile web/skins/classic/graphics/Makefile web/skins/classic/includes/Makefile web/skins/classic/js/Makefile web/skins/classic/lang/Makefile web/skins/classic/views/Makefile web/skins/classic/views/css/Makefile web/skins/classic/views/js/Makefile web/skins/mobile/Makefile web/skins/mobile/ajax/Makefile web/skins/mobile/css/Makefile web/skins/mobile/graphics/Makefile web/skins/mobile/includes/Makefile web/skins/mobile/lang/Makefile web/skins/mobile/views/Makefile web/skins/mobile/views/css/Makefile web/tools/Makefile web/tools/mootools/Makefile web/views/Makefile web/skins/xml/Makefile web/skins/xml/views/Makefile web/skins/xml/includes/Makefile"
|
||||
ac_config_files="$ac_config_files Makefile zm.conf zmconfgen.pl db/Makefile db/zm_create.sql scripts/Makefile scripts/zm scripts/zmaudit.pl scripts/zmcontrol.pl scripts/zmdc.pl scripts/zmfilter.pl scripts/zmpkg.pl scripts/zmtrack.pl scripts/zmtrigger.pl scripts/zmupdate.pl scripts/zmvideo.pl scripts/zmwatch.pl scripts/zmx10.pl scripts/zmdbbackup scripts/zmdbrestore scripts/zmeventdump scripts/zmlogrotate.conf scripts/ZoneMinder/lib/ZoneMinder/Base.pm scripts/ZoneMinder/lib/ZoneMinder/Config.pm scripts/ZoneMinder/lib/ZoneMinder/Memory.pm scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm src/Makefile src/zm_config.h web/Makefile web/ajax/Makefile web/css/Makefile web/graphics/Makefile web/includes/Makefile web/includes/config.php web/js/Makefile web/lang/Makefile web/skins/Makefile web/skins/classic/Makefile web/skins/classic/ajax/Makefile web/skins/classic/css/Makefile web/skins/classic/graphics/Makefile web/skins/classic/includes/Makefile web/skins/classic/js/Makefile web/skins/classic/lang/Makefile web/skins/classic/views/Makefile web/skins/classic/views/css/Makefile web/skins/classic/views/js/Makefile web/skins/mobile/Makefile web/skins/mobile/ajax/Makefile web/skins/mobile/css/Makefile web/skins/mobile/graphics/Makefile web/skins/mobile/includes/Makefile web/skins/mobile/lang/Makefile web/skins/mobile/views/Makefile web/skins/mobile/views/css/Makefile web/tools/Makefile web/tools/mootools/Makefile web/views/Makefile web/skins/xml/Makefile web/skins/xml/views/Makefile web/skins/xml/includes/Makefile web/zmHttpd.conf"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@@ -10057,6 +10077,7 @@ do
|
||||
"web/skins/xml/Makefile") CONFIG_FILES="$CONFIG_FILES web/skins/xml/Makefile" ;;
|
||||
"web/skins/xml/views/Makefile") CONFIG_FILES="$CONFIG_FILES web/skins/xml/views/Makefile" ;;
|
||||
"web/skins/xml/includes/Makefile") CONFIG_FILES="$CONFIG_FILES web/skins/xml/includes/Makefile" ;;
|
||||
"web/zmHttpd.conf") CONFIG_FILES="$CONFIG_FILES web/zmHttpd.conf" ;;
|
||||
|
||||
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||
esac
|
||||
|
||||
12
configure.ac
12
configure.ac
@@ -138,6 +138,16 @@ AC_ARG_WITH(webgroup,
|
||||
)
|
||||
AC_SUBST(WEB_GROUP)
|
||||
|
||||
WEB_HOST=zm.local
|
||||
AC_ARG_WITH(webhost,
|
||||
[ --with-webhost=<hostname> name of web hostname, default zm.local],
|
||||
[WEB_HOST=$with_webhost],
|
||||
AC_MSG_WARN([You can call configure with the --with-webhost option.
|
||||
This tells configure what the host name is for name based virtual hosting. This is only used to populate the sample web/zmHttpd.conf file.
|
||||
e.g. --with-webhost=zm.localdomain])
|
||||
)
|
||||
AC_SUBST(WEB_HOST)
|
||||
|
||||
ENABLE_DEBUG=yes
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug=<yes|no> enable or disable debug, default enabled],
|
||||
@@ -347,7 +357,7 @@ fi
|
||||
AC_SUBST(PERL_MM_PARMS)
|
||||
AC_SUBST(EXTRA_PERL_LIB)
|
||||
|
||||
AC_CONFIG_FILES([Makefile zm.conf zmconfgen.pl db/Makefile db/zm_create.sql scripts/Makefile scripts/zm scripts/zmaudit.pl scripts/zmcontrol.pl scripts/zmdc.pl scripts/zmfilter.pl scripts/zmpkg.pl scripts/zmtrack.pl scripts/zmtrigger.pl scripts/zmupdate.pl scripts/zmvideo.pl scripts/zmwatch.pl scripts/zmx10.pl scripts/zmdbbackup scripts/zmdbrestore scripts/zmeventdump scripts/zmlogrotate.conf scripts/ZoneMinder/lib/ZoneMinder/Base.pm scripts/ZoneMinder/lib/ZoneMinder/Config.pm scripts/ZoneMinder/lib/ZoneMinder/Memory.pm scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm src/Makefile src/zm_config.h web/Makefile web/ajax/Makefile web/css/Makefile web/graphics/Makefile web/includes/Makefile web/includes/config.php web/js/Makefile web/lang/Makefile web/skins/Makefile web/skins/classic/Makefile web/skins/classic/ajax/Makefile web/skins/classic/css/Makefile web/skins/classic/graphics/Makefile web/skins/classic/includes/Makefile web/skins/classic/js/Makefile web/skins/classic/lang/Makefile web/skins/classic/views/Makefile web/skins/classic/views/css/Makefile web/skins/classic/views/js/Makefile web/skins/mobile/Makefile web/skins/mobile/ajax/Makefile web/skins/mobile/css/Makefile web/skins/mobile/graphics/Makefile web/skins/mobile/includes/Makefile web/skins/mobile/lang/Makefile web/skins/mobile/views/Makefile web/skins/mobile/views/css/Makefile web/tools/Makefile web/tools/mootools/Makefile web/views/Makefile web/skins/xml/Makefile web/skins/xml/views/Makefile web/skins/xml/includes/Makefile])
|
||||
AC_CONFIG_FILES([Makefile zm.conf zmconfgen.pl db/Makefile db/zm_create.sql scripts/Makefile scripts/zm scripts/zmaudit.pl scripts/zmcontrol.pl scripts/zmdc.pl scripts/zmfilter.pl scripts/zmpkg.pl scripts/zmtrack.pl scripts/zmtrigger.pl scripts/zmupdate.pl scripts/zmvideo.pl scripts/zmwatch.pl scripts/zmx10.pl scripts/zmdbbackup scripts/zmdbrestore scripts/zmeventdump scripts/zmlogrotate.conf scripts/ZoneMinder/lib/ZoneMinder/Base.pm scripts/ZoneMinder/lib/ZoneMinder/Config.pm scripts/ZoneMinder/lib/ZoneMinder/Memory.pm scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm src/Makefile src/zm_config.h web/Makefile web/ajax/Makefile web/css/Makefile web/graphics/Makefile web/includes/Makefile web/includes/config.php web/js/Makefile web/lang/Makefile web/skins/Makefile web/skins/classic/Makefile web/skins/classic/ajax/Makefile web/skins/classic/css/Makefile web/skins/classic/graphics/Makefile web/skins/classic/includes/Makefile web/skins/classic/js/Makefile web/skins/classic/lang/Makefile web/skins/classic/views/Makefile web/skins/classic/views/css/Makefile web/skins/classic/views/js/Makefile web/skins/mobile/Makefile web/skins/mobile/ajax/Makefile web/skins/mobile/css/Makefile web/skins/mobile/graphics/Makefile web/skins/mobile/includes/Makefile web/skins/mobile/lang/Makefile web/skins/mobile/views/Makefile web/skins/mobile/views/css/Makefile web/tools/Makefile web/tools/mootools/Makefile web/views/Makefile web/skins/xml/Makefile web/skins/xml/views/Makefile web/skins/xml/includes/Makefile web/zmHttpd.conf])
|
||||
AC_OUTPUT
|
||||
|
||||
#AC_CHECK_FILE(scripts/ZoneMinder/Makefile,,[cd scripts/ZoneMinder;perl Makefile.PL PREFIX=$PREFIX])
|
||||
|
||||
@@ -121,6 +121,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -195,6 +195,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -20,6 +20,9 @@ SUBDIRS = \
|
||||
dist_web_DATA = \
|
||||
index.php
|
||||
|
||||
EXTRA_DIST = \
|
||||
zmHttpd.conf.in
|
||||
|
||||
# Yes, you are correct. This is a HACK!
|
||||
install-data-hook:
|
||||
( cd $(DESTDIR)$(webdir); chown $(webuser):$(webgroup) $(dist_web_DATA) )
|
||||
|
||||
@@ -34,7 +34,7 @@ PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
subdir = web
|
||||
DIST_COMMON = $(dist_web_DATA) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in
|
||||
$(srcdir)/Makefile.in $(srcdir)/zmHttpd.conf.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
@@ -42,7 +42,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_FILES = zmHttpd.conf
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
@@ -262,6 +263,9 @@ SUBDIRS = \
|
||||
dist_web_DATA = \
|
||||
index.php
|
||||
|
||||
EXTRA_DIST = \
|
||||
zmHttpd.conf.in
|
||||
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
@@ -295,6 +299,8 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
zmHttpd.conf: $(top_builddir)/config.status $(srcdir)/zmHttpd.conf.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
install-dist_webDATA: $(dist_web_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(webdir)" || $(MKDIR_P) "$(DESTDIR)$(webdir)"
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -160,6 +160,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -185,6 +185,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -160,6 +160,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
@@ -145,6 +145,7 @@ SYSCONFDIR = @SYSCONFDIR@
|
||||
TIME_BUILD = @TIME_BUILD@
|
||||
VERSION = @VERSION@
|
||||
WEB_GROUP = @WEB_GROUP@
|
||||
WEB_HOST = @WEB_HOST@
|
||||
WEB_PREFIX = @WEB_PREFIX@
|
||||
WEB_USER = @WEB_USER@
|
||||
ZM_CONFIG = @ZM_CONFIG@
|
||||
|
||||
26
web/zmHttpd.conf.in
Normal file
26
web/zmHttpd.conf.in
Normal file
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# Sample configuration file for running ZoneMinder as name based virtual host
|
||||
# Some values may need to manually adjusted to suit your setup
|
||||
#
|
||||
<VirtualHost *:80>
|
||||
ServerName @WEB_HOST@
|
||||
ServerAdmin webmaster@localhost
|
||||
|
||||
DocumentRoot "@WEB_PREFIX@"
|
||||
<Directory "@WEB_PREFIX@">
|
||||
Options FollowSymLinks
|
||||
</Directory>
|
||||
ScriptAlias /cgi-bin/ "@CGI_PREFIX@"
|
||||
<Directory "@CGI_PREFIX@">
|
||||
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
||||
</Directory>
|
||||
|
||||
# May be required if libraries are installed in unusual places
|
||||
#SetEnv LD_LIBRARY_PATH @FFMPEG_PREFIX@/@LIB_ARCH@
|
||||
|
||||
# Possible values include: debug, info, notice, warn, error, crit,
|
||||
# alert, emerg.
|
||||
LogLevel warn
|
||||
ErrorLog @LOGDIR@/zm-error.log
|
||||
CustomLog @LOGDIR@/zm-access.log combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user