Read the next two sets of messages carefully and press Enter (for each) to finish. This file is placed in the Program Files>AWStats>conf (where ‘HOSTNAME’ is the DNS name of your server). Run the script, once, for each website that you have, each time just specifying a different website name at its second prompt. This completes the basic configuration of your system. This is the most complex part of the installation. To make it easier, create a folder on your desktop called Stats. From the AWStats\From Administrative Tools>Services, restart the ‘World Wide Web Publishing Service’.ĭetailed reporting of who came, from where and visited which pages for how long Now go to the Program Files>AWStats>to the Stats folder. Next drag and drop the nf file in the Stats folder of each website (as copied above) into a Notepad window and follow the steps given below. Drag and drop the log file of this website into another window of Notepad.Find the line (Ctrl G, type 114, ) in the nf file that starts ‘LogFormat=’, delete all the text on that line after the ‘=’ and paste the copied text there.įind the line starting ‘#Fields:’ (fourth line from the top) and copy (Ctrl C) all the text on that line, but without the ‘#Fields:’ part.LogFormat=”date time cs-method cs-uri-stem cs-uri-query cs-username c-ip cs-version cs(User-Agent) cs(Referer) sc-status sc-bytes” Your string should look something like this: Put double quotes around it, and make sure there are no spaces just after the first double quote and before the second one. Now find the ‘LogFile=’ line (Ctrl G, 51, ), delete the number you see there-that’s for Apache and won’t work with IIS.Instead, place a set of double quotes and enter/paste in the full path to the log file for that website (from what you noted on the paper before). Now, find two lines starting with ‘DirCgi’ and ‘DirIcons’ (Ctrl G and 201 and 211 respectively) and place a ‘.’ inside the double quotes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |