<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-br">
		<id>http://wiki.pilarcultural.org/index.php?action=history&amp;feed=atom&amp;title=AWStats</id>
		<title>AWStats - Histórico de revisão</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.pilarcultural.org/index.php?action=history&amp;feed=atom&amp;title=AWStats"/>
		<link rel="alternate" type="text/html" href="http://wiki.pilarcultural.org/index.php?title=AWStats&amp;action=history"/>
		<updated>2026-05-25T22:53:42Z</updated>
		<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>http://wiki.pilarcultural.org/index.php?title=AWStats&amp;diff=983&amp;oldid=prev</id>
		<title>Avena em 17h38min de 6 de dezembro de 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.pilarcultural.org/index.php?title=AWStats&amp;diff=983&amp;oldid=prev"/>
				<updated>2010-12-06T17:38:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Edição das 17h38min de 6 de dezembro de 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L126&quot; &gt;Linha 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; index&amp;#160; awstats.www.domino.tdl index.html;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; index&amp;#160; awstats.www.domino.tdl index.html;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; location ~ ^/icon/ {&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; location ~ ^/icon/ {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; root&amp;#160; /opt/awstats/wwwroot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; root&amp;#160; /opt/awstats/wwwroot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Avena</name></author>	</entry>

	<entry>
		<id>http://wiki.pilarcultural.org/index.php?title=AWStats&amp;diff=982&amp;oldid=prev</id>
		<title>Avena: Criou página com &#039;Instalação:  cd /opt  wget http://awstats.sourceforge.net/files/awstats-7.0.tar.gz  tar xf awstats-7.0.tar.gz  mv awstats-7.0 awstats  cd awstats/tools/  perl awstats_configure…&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.pilarcultural.org/index.php?title=AWStats&amp;diff=982&amp;oldid=prev"/>
				<updated>2010-12-06T17:38:15Z</updated>
		
		<summary type="html">&lt;p&gt;Criou página com &amp;#039;Instalação:  cd /opt  wget http://awstats.sourceforge.net/files/awstats-7.0.tar.gz  tar xf awstats-7.0.tar.gz  mv awstats-7.0 awstats  cd awstats/tools/  perl awstats_configure…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Instalação:&lt;br /&gt;
 cd /opt&lt;br /&gt;
 wget http://awstats.sourceforge.net/files/awstats-7.0.tar.gz&lt;br /&gt;
 tar xf awstats-7.0.tar.gz&lt;br /&gt;
 mv awstats-7.0 awstats&lt;br /&gt;
 cd awstats/tools/&lt;br /&gt;
 perl awstats_configure.pl&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
 # perl awstats_configure.pl&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 ----- AWStats awstats_configure 1.0 (build 1.9) (c) Laurent Destailleur -----&lt;br /&gt;
 This tool will help you to configure AWStats to analyze statistics for&lt;br /&gt;
 one web server. You can try to use it to let it do all that is possible&lt;br /&gt;
 in AWStats setup, however following the step by step manual setup&lt;br /&gt;
 documentation (docs/index.html) is often a better idea. Above all if:&lt;br /&gt;
 - You are not an administrator user,&lt;br /&gt;
 - You want to analyze downloaded log files without web server,&lt;br /&gt;
 - You want to analyze mail or ftp log files instead of web log files,&lt;br /&gt;
 - You need to analyze load balanced servers log files,&lt;br /&gt;
 - You want to &amp;#039;understand&amp;#039; all possible ways to use AWStats...&lt;br /&gt;
 Read the AWStats documentation (docs/index.html).&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Running OS detected: Linux, BSD or Unix&lt;br /&gt;
 Warning: AWStats standard directory on Linux OS is &amp;#039;/usr/local/awstats&amp;#039;.&lt;br /&gt;
 If you want to use standard directory, you should first move all content&lt;br /&gt;
 of AWStats distribution from current directory:&lt;br /&gt;
 /opt/awstats&lt;br /&gt;
 to standard directory:&lt;br /&gt;
 /usr/local/awstats&lt;br /&gt;
 And then, run configure.pl from this location.&lt;br /&gt;
 Do you want to continue setup from this NON standard directory [yN] ? Y&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Check for web server install&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 Enter full config file path of your Web server.&lt;br /&gt;
 Example: /etc/httpd/httpd.conf&lt;br /&gt;
 Example: /usr/local/apache2/conf/httpd.conf&lt;br /&gt;
 Example: c:\Program files\apache group\apache\conf\httpd.conf&lt;br /&gt;
 Config file path (&amp;#039;none&amp;#039; to skip web server setup):&lt;br /&gt;
 &amp;gt; none&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 Your web server config file(s) could not be found.&lt;br /&gt;
 You will need to setup your web server manually to declare AWStats&lt;br /&gt;
 script as a CGI, if you want to build reports dynamically.&lt;br /&gt;
 See AWStats setup documentation (file docs/index.html)&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Update model config file &amp;#039;/opt/awstats/wwwroot/cgi-bin/awstats.model.conf&amp;#039;&lt;br /&gt;
   File awstats.model.conf updated.&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Need to create a new config file ?&lt;br /&gt;
 Do you want me to build a new AWStats config/profile&lt;br /&gt;
 file (required if first install) [y/N] ? Y&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Define config file name to create&lt;br /&gt;
 What is the name of your web site or profile analysis ?&lt;br /&gt;
 Example: www.mysite.com&lt;br /&gt;
 Example: demo&lt;br /&gt;
 Your web site, virtual server or profile name:&lt;br /&gt;
 &amp;gt; mocambos.net&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Define config file path&lt;br /&gt;
 In which directory do you plan to store your config file(s) ?&lt;br /&gt;
 Default: /etc/awstats&lt;br /&gt;
 Directory path to store config file(s) (Enter for default):&lt;br /&gt;
 &amp;gt; &lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Create config file &amp;#039;/etc/awstats/awstats.mocambos.net.conf&amp;#039;&lt;br /&gt;
  Config file /etc/awstats/awstats.mocambos.net.conf created.&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 -----&amp;gt; Add update process inside a scheduler&lt;br /&gt;
 Sorry, configure.pl does not support automatic add to cron yet.&lt;br /&gt;
 You can do it manually by adding the following command to your cron:&lt;br /&gt;
 /opt/awstats/wwwroot/cgi-bin/awstats.pl -update -config=mocambos.net&lt;br /&gt;
 Or if you have several config files and prefer having only one command:&lt;br /&gt;
 /opt/awstats/tools/awstats_updateall.pl now&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 A SIMPLE config file has been created: /etc/awstats/awstats.mocambos.net.conf&lt;br /&gt;
 You should have a look inside to check and change manually main parameters.&lt;br /&gt;
 You can then manually update your statistics for &amp;#039;mocambos.net&amp;#039; with command:&lt;br /&gt;
 &amp;gt; perl awstats.pl -update -config=mocambos.net&lt;br /&gt;
 You can also build static report pages for &amp;#039;mocambos.net&amp;#039; with command:&lt;br /&gt;
 &amp;gt; perl awstats.pl -output=pagetype -config=mocambos.net&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Vamos criar diretório data e dar permissão a outros usuários:&lt;br /&gt;
 mkdir data&amp;lt;br&amp;gt;&lt;br /&gt;
 chmod 755 data&lt;br /&gt;
&lt;br /&gt;
Veja onde seus logs seja do nginx ou apache. Separe na conf de cada site um log pra cada site e acesso,&lt;br /&gt;
 ls /var/log/nginx/&lt;br /&gt;
 access.log		     localhost.access.log	      redrecicladores.access.log&lt;br /&gt;
 democraciaweb.access.log     mcdcorretora.access.log	      rls.access.log&lt;br /&gt;
 error.log		     mncr.access.log		      solidariedadeacuba.access.log&lt;br /&gt;
 fabricadetv.access.log	     mocambos.access.log	      teiaculturaviva.access.log&lt;br /&gt;
 girassolacg.access.log	     mocambos.access.log.2	      tvlan.access.log&lt;br /&gt;
 hospedagemplone.access.log   mulhereslivres.access.log	      vazquezppg.access.log&lt;br /&gt;
 jocbrasil.access.log	     munin.ps16377.dreamhost.com.log&lt;br /&gt;
 linguagemdigital.access.log  noisnarua.access.log&lt;br /&gt;
&lt;br /&gt;
Vamos usar log da mocambos.net&amp;lt;br&amp;gt;&lt;br /&gt;
Criar arquivo com base no /opt/awstats/wwwroot/cgi-bin/awstats.model.conf&amp;lt;br&amp;gt;&lt;br /&gt;
 nano /etc/awstats/awstats.www.mocambos.net.conf&lt;br /&gt;
&lt;br /&gt;
Pra criar outras conf&amp;lt;br&amp;gt;&lt;br /&gt;
 cp /opt/awstats/wwwroot/cgi-bin/awstats.model.conf /etc/awstats/awstats.www.dominio.tdl.conf &lt;br /&gt;
&lt;br /&gt;
Criar diretorio pra paginas html&amp;lt;br&amp;gt;&lt;br /&gt;
 mkdir -p /opt/awstats/data/dominio.tdl/visitas/&lt;br /&gt;
&lt;br /&gt;
Editar linha 153&amp;lt;br&amp;gt;&lt;br /&gt;
 SiteDomain=&amp;quot;www.dominio.tdl&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Editar linha 203&amp;lt;br&amp;gt;&lt;br /&gt;
 DirData=&amp;quot;/opt/awstats/data/dominio.tdl/visitas/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Configuração dentro do nginx&amp;lt;br&amp;gt;&lt;br /&gt;
www.dominio.tdl/visitas - abaixo do dominio. (tarefa separar cada dominio em .conf propria)&lt;br /&gt;
&lt;br /&gt;
        location ~ ^/visitas {&lt;br /&gt;
                root   /opt/awstats/data/domino.tdl;&lt;br /&gt;
                index  awstats.www.domino.tdl index.html;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        location ~ ^/icon/ {&lt;br /&gt;
                root  /opt/awstats/wwwroot;&lt;br /&gt;
                index  index.html;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ai deixar no cron pra de tempo em tempo gerar o html&amp;lt;br&amp;gt;&lt;br /&gt;
 /opt/awstats/tools/awstats_buildstaticpages.pl -config=www.domino.tdl -update -awstatsprog=/opt/awstats/wwwroot/cgi-bin/awstats.pl -dir=/opt/awstats/data/domino.tdl/visitas &amp;gt; /dev/null&lt;/div&gt;</summary>
		<author><name>Avena</name></author>	</entry>

	</feed>