Skip to content

Monthly Archives: January 2007

PHP / Windows Task scheduling from command prompt

schtasks /create /tn “My Scheduled Jobs” /tr “php-win.exe D:\Program Files\xampp\htdocs\somefile.php” /sc minute make sure that php-win.exe is in path while giving this command

Share

Setting up a Linux Proxy server using Fedora core 5

Assumption: – eth0 is the external interface (Connected to internet) – eth1 is the internal interface (local network) (Fixed IP) Edit /etc/sysctl.conf to enable ip forwarding permanently. net.ipv4.ip_forward = 1 Edit /etc/sysconfig/iptables-config and make following changes: IPTABLES_MODULES=”ip_conntrack_netbios_ns ip_conntrack ip_conntrack_ftp ip_conntrack_irc iptable_nat ip_nat_ftp ip_nat_irc” IPTABLES_SAVE_ON_STOP=”yes” IPTABLES_SAVE_ON_RESTART=”yes” # To clear out any existing rules and set default [...]

Share