simplistic gatekeeper limiting access to apache2-based proxy

i had to expose some web-based application hosted on a windows server to the internet. i don’t put too much trust in the developers of that particular application so i did not want to make it reachable from the public internet. while i could not use ip address based whitelist i could count on the …

Continue reading ‘simplistic gatekeeper limiting access to apache2-based proxy’ »

posting a file from command line with CURL

i needed to write a .bat script for windows to upload a log file. quick and nasty hack.. on the sending end: looks straightforward, worked when i tested; but failed to upload in the production setup. on the http server/PHP i was getting: turned out that the log file was growing. curl at the beginning …

Continue reading ‘posting a file from command line with CURL’ »