Hi,
vielleicht bin ich hier im falschen Forum, aber ich habe den Webalizer installiert. Frage, ob der nun in vhcs irgendie eingebunden werden muss, damit er funktioneirt?
Gruß
<VirtualHost {DMN_IP}:80>
<IfModule suexec_module>
SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP}
</IfModule>
ServerAdmin webmaster@{DMN_NAME}
DocumentRoot {WWW_DIR}/{DMN_NAME}/htdocs
ServerName {DMN_NAME}
ServerAlias www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME}
ErrorLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-error.log
TransferLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-access.log
CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff
CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined
Alias /errors {WWW_DIR}/{DMN_NAME}/errors/
RedirectMatch permanent /ftp([\/]?) http://{BASE_SERVER_VHOST}/ftp/
RedirectMatch permanent /pma([\/]?) http://{BASE_SERVER_VHOST}/pma/
RedirectMatch permanent /webmail([\/]?) http://{BASE_SERVER_VHOST}/webmail/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
[b]Alias /webalizer /srv/www/webalizer/{DMN_NAME}/
<Directory /srv/www/webalizer/{DMN_NAME}>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>[/b]
<IfModule mod_cband.c>
CBandUser {DMN_GRP}
</IfModule>
# httpd awstats support BEGIN.
# httpd awstats support END.
# httpd dmn entry cgi support BEGIN.
# httpd dmn entry cgi support END.
# httpd dmn entry PHP2 support BEGIN.
# httpd dmn entry PHP2 support END.
<Directory {WWW_DIR}/{DMN_NAME}/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Include {CUSTOM_SITES_CONFIG_DIR}/{DMN_NAME}.conf
</VirtualHost>
Ich vermute dass du Debian benutzt dann musst du das /srv/ durch /var/ ersetzen
Alias /webalizer /var/www/webalizer/domain.tld/
<Directory /var/www/webalizer/domain.tld>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
#!/bin/bash
#
# create_webaliser-vhcs-confs
#
#update /etc/webalizer/domains.txt file by calling the perl script
perl /var/www/ispcp/engine/ispcp-get-domains.pl
for domain in $(cat /etc/webalizer/domains.txt)
do
if test ! -f /etc/webalizer/$domain.conf; then
cat /etc/webalizer/webaliser-vhcs-conf-template | sed "s/domain_tld/$domain/g" > /etc/webalizer/$domain.conf;
fi
if test ! -d /var/www/webalizer/$domain; then
mkdir -p /var/www/webalizer/$domain ;
fi
done
for i in /etc/webalizer/*.conf;
do /usr/bin/webalizer -c $i;
echo $i
done
exit 0
We use essential cookies to make this site work, and optional cookies to enhance your experience.