$ vim /etc/squid/squid.conf http_port 192.168.0.1:8080 icp_port 3130 tcp_outgoing_address 0.0.0.0 udp_incoming_address 0.0.0.0 udp_outgoing_address 0.0.0.0 cache_peer proxy.eepis-its.edu parent 3128 3130 login=share@student.eepis-its.edu:share cache_mem 32 MB cache_dir ufs /cache 1000 16 256 # log (bagian ini berisikan tentang lokasi file log yang akan digunakan squid). cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log /var/log/squid/store.log client_netmask 255.255.255.0 unlinkd_program /usr/lib/squid/unlinkd #refresh pattern refresh_pattern ^ftp: [...]
Archive for July, 2009
mod_rewrite for joomla 1.5 using lighttpd pico /etc/lighttpd/conf-enabled/10-rewrite.conf url.rewrite-once = (“/component/content,(.*)/$”=> “/index.php?content=$1″) if you are using http://xxx.com/joomla use this url.rewrite-once = (“joomla/component/content,(.*)/$”=> “/joomla/index.php?content=$1″) and done forget to enable mod_rewrite in lighttpd.conf and change error 404 to this server.error-handler-404 = “/index.php” and running lighttpd on 127.0.0.1 SQUID REVERSE PROXY aptitude install squid than change squid.conf to [...]

