Machine/aslo-web: Difference between revisions

Dfarning (talk | contribs)
m reorder
Dfarning (talk | contribs)
m update path
Line 29: Line 29:
         ServerAdmin webmaster@sugarlabs.org
         ServerAdmin webmaster@sugarlabs.org


         DocumentRoot /srv/www-sugarlabs/activities/site/app/webroot
         DocumentRoot /var/www/site/app/webroot
         CacheEnable mem /
         CacheEnable mem /


         LogFormat "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" \"%{HTTP_COOKIE}i\"" addons
         LogFormat "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" \"%{HTTP_COOKIE}i\"" addons
         CustomLog /srv/www-sugarlabs/activities/data/access addons
         CustomLog /var/www/data/access addons
         CustomLog /var/log/apache2/all-access.log vhost_combined
         CustomLog /var/log/apache2/all-access.log vhost_combined
         #CustomLog /var/log/apache2/performance.log performance
         #CustomLog /var/log/apache2/performance.log performance
</VirtualHost>
</VirtualHost>
</pre>
</pre>


===Log rotate===
===Log rotate===


===Parse logs===
===Parse logs===