Old:Installing AWStats on 3.5-Apollo: Difference between revisions
Old:Installing AWStats on 3.5-Apollo (view source)
Revision as of 01:08, 24 November 2010
, 24 November 2010no edit summary
mNo edit summary |
Upazixorys (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
< | ---- | ||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | |||
---- | |||
=[http://ihyveqo.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | |||
---- | |||
=[http://ihyveqo.co.cc CLICK HERE]= | |||
---- | |||
</div> | |||
<span id="top"></span> | |||
<div style="padding:0;margin:0; border-bottom:3px inset #000000"> | |||
{| | {| | ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] || | | [[Image:uc_small_logo.gif | MPG UniCenter]] || | ||
How to install AWStats on Uniform Server 3.5-Apollo | How to install AWStats on Uniform Server 3.5-Apollo | ||
|} | |} | ||
</div> | |||
{| cellpadding= | {| cellpadding="2" | ||
| | | | ||
__TOC__ | __TOC__ | ||
Line 36: | Line 44: | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
== Installation == | == Installation == | ||
# Copy folders: '''css''', '''icon''' and '''js''' | # Copy folders: '''css''', '''icon''' and '''js'''<br>To Uniform Server folder: '''\Uniform Server\udrive\www''' | ||
# Copy folder: '''cgi-bin''' | # Copy folder: '''cgi-bin'''<br>To Uniform Server folder: '''\Uniform Server\udrive\cgi-bin'''<br>Rename the copied folder cgi-bin to '''awstats''' | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 47: | Line 55: | ||
'''Line 51''' Change: | '''Line 51''' Change: | ||
<pre> LogFile="/var/log/httpd/mylog.log"</pre> | |||
To: | To: | ||
<pre> LogFile="/usr/local/apache2/logs/access.log"</pre> | |||
'''Line 122''' Change: | '''Line 122''' Change: | ||
<pre>LogFormat=1</pre> | |||
To: | To: | ||
<pre>LogFormat=4</pre> | |||
'''Line 153''' Change: | '''Line 153''' Change: | ||
<pre> SiteDomain=""</pre> | |||
To: | To: | ||
<pre> SiteDomain="localhost"</pre> | |||
'''Line 212''' Change: | '''Line 212''' Change: | ||
<pre>DirCgi="/cgi-bin"</pre> | |||
To: | To: | ||
<pre>DirCgi="/cgi-bin/awstats"</pre> | |||
'''Line 239''' Change: | '''Line 239''' Change: | ||
<pre> AllowToUpdateStatsFromBrowser=0</pre> | |||
To: | To: | ||
<pre>AllowToUpdateStatsFromBrowser=1</pre> | |||
'''''Notes'':''' | '''''Notes'':''' | ||
Line 75: | Line 83: | ||
You can view the initial stats page by typing the following into your browser: | You can view the initial stats page by typing the following into your browser: | ||
''' | '''<nowiki>http://localhost/cgi-bin/awstats/awstats.pl</nowiki>''' | ||
Note: To recalculate statistics click on the '''Update now''' link located top of page. | Note: To recalculate statistics click on the '''Update now''' link located top of page. | ||
Line 88: | Line 96: | ||
Edit the file you just copied to look like this: | Edit the file you just copied to look like this: | ||
<pre> | |||
Order Deny,Allow | Order Deny,Allow | ||
Deny from all | Deny from all | ||
Allow from 127.0.0.1 | Allow from 127.0.0.1 | ||
</pre> | |||
This prevents every one on the Internet viewing your stats information. You can however view the statistics page locally. | This prevents every one on the Internet viewing your stats information. You can however view the statistics page locally. | ||
Line 102: | Line 110: | ||
Edit the file you just copied to look like this: | Edit the file you just copied to look like this: | ||
<pre> | |||
AuthName | AuthName "Uniform Server - Server Access" | ||
AuthType Basic | AuthType Basic | ||
AuthUserFile /htpasswd/awstats/.htpasswd | AuthUserFile /htpasswd/awstats/.htpasswd | ||
Require valid-user | Require valid-user | ||
</pre> | |||
The above only enables password protection; you now need to create the password file. | The above only enables password protection; you now need to create the password file. | ||
Line 114: | Line 122: | ||
# Edit the copied .htpasswd file, delete its content and add the '''name:password''' pair you want to use. | # Edit the copied .htpasswd file, delete its content and add the '''name:password''' pair you want to use. | ||
After saving the file type the following into your browser ''' | After saving the file type the following into your browser '''<nowiki>http://localhost/cgi-bin/awstats/awstats.pl</nowiki>''' you will be challenged for a name and password. | ||
== Download == | == Download == | ||
Line 125: | Line 133: | ||
The file is a self-extracting archive; double click to run, no need to change the path, allow overwriting existing files. This updates Uniform Server as described above. | The file is a self-extracting archive; double click to run, no need to change the path, allow overwriting existing files. This updates Uniform Server as described above. | ||
'''''Note'':''' Remember to download and apply [[Bugs 3.5-Apollo: Perl incompatible modules | Uc_bug_fix_5.exe]] otherwise you will receive a | '''''Note'':''' Remember to download and apply [[Bugs 3.5-Apollo: Perl incompatible modules | Uc_bug_fix_5.exe]] otherwise you will receive a "Server Configuration Error" message. | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' |