Old:UniServer AWStats for 4-Mona: Difference between revisions

m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
No edit summary
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric)
Line 1: Line 1:
=[http://amofuryqimu.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
<span id="top"></span>
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
{| cellpadding="2"
{| cellpadding=&quot;2&quot;
|
|
__TOC__
__TOC__
Line 17: Line 16:
== Download and Install ==
== Download and Install ==
'''''Options 1'':'''
'''''Options 1'':'''
# Download file '''UniServer_AWStats_1.0.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&amp;package_id=49448&amp;release_id=677883 Sourceforge]
# Download file '''UniServer_AWStats_1.0.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=49448&release_id=677883 Sourceforge]
# Save it to folder '''UniServer'''.
# Save it to folder '''UniServer'''.
# To extract files, double click on file UniServer_AWStats_1.0.exe, no need to change the path.
# To extract files, double click on file UniServer_AWStats_1.0.exe, no need to change the path.
Line 23: Line 22:


'''''Options 2'':'''
'''''Options 2'':'''
# Download file '''UniServer_AWStats_1.0.zip''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&amp;package_id=49448&amp;release_id=677883 Sourceforge]
# Download file '''UniServer_AWStats_1.0.zip''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=49448&release_id=677883 Sourceforge]
# Save to any folder (e.g. '''''temp1''''')
# Save to any folder (e.g. '''''temp1''''')
# Extract files, navigate to folder UniServer_AWStats_1.0
# Extract files, navigate to folder UniServer_AWStats_1.0
Line 44: Line 43:
Testing is straight forward:
Testing is straight forward:
* Start the servers
* Start the servers
* Type the following into a browser '''&lt;nowiki&gt;http://localhost/cgi-bin/awstats/awstats.pl&lt;/nowiki&gt;'''
* Type the following into a browser '''<nowiki>http://localhost/cgi-bin/awstats/awstats.pl</nowiki>'''


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 55: Line 54:


The file contains the following lines:
The file contains the following lines:
&lt;pre&gt;
<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
&lt;/pre&gt;
</pre>
The line '''Allow from 127.0.0.1''' restricts access to localhost only. This prevents every one on the Internet viewing your stats information. You can however view the statistics page locally.
The line '''Allow from 127.0.0.1''' restricts access to localhost only. This prevents every one on the Internet viewing your stats information. You can however view the statistics page locally.


Line 73: Line 72:


Comment (add hash) these lines as shown: (Allows anyone access)
Comment (add hash) these lines as shown: (Allows anyone access)
&lt;pre&gt;
<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
&lt;/pre&gt;
</pre>
Uncomment (remove hash) these lines as shown: (Enables name/password protection)  
Uncomment (remove hash) these lines as shown: (Enables name/password protection)  
&lt;pre&gt;
<pre>
AuthName &quot;Uniform Server - Server Access&quot;
AuthName "Uniform Server - Server Access"
AuthType Basic
AuthType Basic
AuthUserFile /htpasswd/awstats/.htpasswd
AuthUserFile /htpasswd/awstats/.htpasswd
Require valid-user
Require valid-user
&lt;/pre&gt;
</pre>


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 94: Line 93:


'''''Default'':''' Contains the following:
'''''Default'':''' Contains the following:
&lt;pre&gt;
<pre>
root:root
root:root
&lt;/pre&gt;
</pre>
'''''Change'':''' Choose a suitable name and password and change the file as follows:
'''''Change'':''' Choose a suitable name and password and change the file as follows:
&lt;pre&gt;
<pre>
new_name:new_password
new_name:new_password
&lt;/pre&gt;
</pre>


==== To view on-line ====
==== To view on-line ====
Type the following into a browser: '''&lt;nowiki&gt;http://your_domain_name/cgi-bin/awstats/awstats.pl&lt;/nowiki&gt; '''   
Type the following into a browser: '''<nowiki>http://your_domain_name/cgi-bin/awstats/awstats.pl</nowiki> '''   


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''