AWStats for 5-Nano: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<span id="top"></span>
=[http://usuzezyjiza.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
{| cellpadding="2"
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
{| cellpadding=&quot;2&quot;
|
|
__TOC__
__TOC__
Line 67: Line 68:
    
    
'''''Update Shebang'':'''
'''''Update Shebang'':'''
* Left mouse click UniTray > Mouse over '''Advanced''' and select '''Perl Shebang Update cgi-bin'''
* Left mouse click UniTray &gt; Mouse over '''Advanced''' and select '''Perl Shebang Update cgi-bin'''
* The above requires performing once (before starting servers) thereafter shebangs are automatically on relocating the servers.   
* The above requires performing once (before starting servers) thereafter shebangs are automatically on relocating the servers.   


Line 75: Line 76:
Testing is straight forward:
Testing is straight forward:
* Start the servers
* Start the servers
* Type the following into a browser '''<nowiki>http://localhost/cgi-bin/awstats/awstats.pl</nowiki>'''
* Type the following into a browser '''&lt;nowiki&gt;http://localhost/cgi-bin/awstats/awstats.pl&lt;/nowiki&gt;'''


'''''Note'':'''
'''''Note'':'''
Line 81: Line 82:
If you have moved the servers remember to include the port number for example:
If you have moved the servers remember to include the port number for example:


'''<nowiki>http://localhost:82/cgi-bin/awstats/awstats.pl</nowiki>'''
'''&lt;nowiki&gt;http://localhost:82/cgi-bin/awstats/awstats.pl&lt;/nowiki&gt;'''


Use UniTray '''Server Status''' to find the Apache port number.  
Use UniTray '''Server Status''' to find the Apache port number.  
Line 95: Line 96:


The file contains the following lines:
The file contains the following lines:
<pre>
&lt;pre&gt;
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>
&lt;/pre&gt;
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 113: Line 114:


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


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 134: Line 135:


'''''Default'':''' Contains the following:
'''''Default'':''' Contains the following:
<pre>
&lt;pre&gt;
root:root
root:root
</pre>
&lt;/pre&gt;
'''''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:
<pre>
&lt;pre&gt;
new_name:new_password
new_name:new_password
</pre>
&lt;/pre&gt;


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


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

edits

Navigation menu