![]() ![]() More batch update scripts can be stored in the cgi-bin/AWStats/directory under the tools directory. MV AWStats-version/wwwroot/cgi-bin/path/to/Apache/cgi-bin/AWStatsĬopy the file directories such as icons to the HTML file publishing Directory on the Web, for example,/home/Apache/htdocs /. Http:///projects/awstats/ download installation package:ĪWStats scripts and static files are all in the wwwroot directory by default: deploy all the files in the cgi-bin directory to the cgi-bin/directory: /home/Apache/cgi-bin/AWStats/ You do not have to patiently read all the content: brief installation instructions are as follows: Minimal configuration file modification: logfile sitedomain logformat.Configuration File naming rules: AWStats.c:\windows\system32\inetsrv\appcmd.exe set config "" -section:system.webServer/handlers /.name:"PERL" /.path:"*.pl" /.modules:"IsapiModule" /.scriptProcessor:"C:\Perl64\bin\perl522.dll" /.resourceType:"Unspecified" /.requireAccess:"Script" /.C:\Windows\System32\inetsrv\appcmd set config -section:system.applicationHost/applicationPools /.enable32BitAppOnWin64:"True" /commit:apphost.C:\Windows\System32\inetsrv\appcmd set app /app.name:/ /applicationPool:".C:\Windows\System32\inetsrv\appcmd add site /id:12345 /name: /bindings:http/*:80: /physicalPath:c:\inetpub\.C:\Windows\System32\inetsrv\appcmd set config /section:applicationPools /.managedPipelineMode:Integrated.C:\Windows\System32\inetsrv\appcmd add apppool /name:.Both to run nightly just before midnight.įor the case sensitivity I mentioned here are the commands correctly implemented. The log files are going to get rather big, so we need to rotate them with a simple dos command in a batch file nightly.Īs mentioned in the previous step. So to keep the report file smaller… we use this batch file. Update from within the browser will “add to the history”. That process creates a raw initial comprehensive single file. That should create a .txt file in the C:\inetpub\\stats\Domain1 C:\Perl64\bin\perl.exe C:\inetpub\\ -config=allnone.ie.There is security to limit access to the report, but we’re not to that point yet. HostAliases="localhost 127.0.0.1 REGEX".Location C:\inetpub\ and the file .conf which is created from the model example one provided. Note is from the testing Perl In IIS from the previous setup article and could be removed.ĭoesn’t give much bar the really useful line of how to start the thing Stick everything in lower case alwaysĪfter this you need to also copy in the cgi-bin folders (lang lib and plugin really need to not be in that sub dir) Be very careful… all domains are case sensitive though not observed in the supplied commands. You end up with the commands being slightly off, so this can helpĥ.6 Download and set up an AWSTATs server This allows perl scripts to be run through IIS That gives a format that AWStats can read Great for saving your poor space starved C: drive. That means squid logs in the directories specified. access_log C:\Squid\var\log\squid\access.log combined.Just follow the default procedures available and take note ofĪllow ports and ensure DNS servers are accessible.ĥ.4 Configuration changes to squid 5.4.1 Log filesĪdd to the nf file the following lines If notepad isn’t on the machine install that as well.Ĭhange the defaults for. Make sure perl works from the command prompt (i.e. Once everyone is going through the proxy, you then put rules in place on the firewall to block access externally, which means you have to go through the proxy to get out.ĥ The setup: Server installation 5.1 Download and install ActivePerl In the future we’ll want to link it to AD, but this involves samba / ldap / and other stuff a bridge too far for right now.Īdd users with test passwords all you want. You can use the following tool to generate the line that goes into the file That is a file that can be opened in notepad. There is a very basic authentication service possible on the proxy In the future if you don’t use the proxy your machine won’t get out to the internet.ģ To use the reporting tool (after its all set up)Īt the top is an “update now” button. Don’t use the proxy server for local (intranet) addresses : Tick the box.Windows in the bottom left of the screen > choose “Settings” > “Network
0 Comments
Leave a Reply. |