Difference between revisions of "User:Andr3w"

From SQLZOO
Jump to: navigation, search
(Created page with "SQLZoo wiki is controlled by [MediaWiki:Common.js]")
 
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
SQLZoo wiki is controlled by [MediaWiki:Common.js]
+
==Notes on squid==
 +
/etc/squid/squid.conf
 +
acl web_ports port 80
 +
acl manager proto cache_object
 +
http_access allow web_ports
 +
http_access allow manager localhost
 +
http_access deny manager
 +
acl purge method PURGE
 +
http_access allow purge localhost
 +
http_access deny purge
 +
http_access deny all
 +
http_port 146.176.166.2:80 accel defaultsite=sqlzoo.net vhost
 +
cache_peer 127.0.0.1 parent 80 0 originserver no-digest
 +
#cache_peer 146.176.166.58 parent 80 0 originserver no-digest
 +
cache_dir ufs /var/log/squid/cache 10000 16 256
 +
 
 +
Changes to /etc/httpd/conf/httpd.conf
 +
LogFormat "%{X-Forwarded-for}i %l %T %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T/%D" squided
 +
CustomLog "logs/access_log" squided
 +
SetEnv force-no-vary
 +
 
 +
*SQLZoo wiki is controlled by [[MediaWiki:Common.js]] and  [[MediaWiki:Common.css]]
 +
*[[Special:RecentChanges]]
 +
*[[Special:SpecialPages]]
 +
[[Language Test Page]]

Latest revision as of 23:49, 18 June 2013

[edit] Notes on squid

/etc/squid/squid.conf

acl web_ports port 80
acl manager proto cache_object
http_access allow web_ports
http_access allow manager localhost
http_access deny manager
acl purge method PURGE
http_access allow purge localhost
http_access deny purge
http_access deny all
http_port 146.176.166.2:80 accel defaultsite=sqlzoo.net vhost
cache_peer 127.0.0.1 parent 80 0 originserver no-digest
#cache_peer 146.176.166.58 parent 80 0 originserver no-digest
cache_dir ufs /var/log/squid/cache 10000 16 256

Changes to /etc/httpd/conf/httpd.conf

LogFormat "%{X-Forwarded-for}i %l %T %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T/%D" squided
CustomLog "logs/access_log" squided
SetEnv force-no-vary

Language Test Page

Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense