Category: Technology

  • Angular JS – IndexedDB DataCloneError when storing $resource

    In an AngularJS Google Chrome App that I’m writing, I keep getting a frustrating error when attempting to store data from a remote resource. After searching around, I realised it was because there were references to cyclic objects (the angular $promise objects within the $resource object), so using a slight adaption to code I found…

  • AllowOverride in Virtual Host using Directory Block

    I know this may seem a little simple, but it took me a while to work this one out. I was trying to get my installation of XAMPP to allow me to put php_value values into my .htacces file, for a site defined in a <VirtualHost> block. e.g. .htaccess file contents: php_value include_path C:\…~pathtodomain~… php_value…

  • how to use htpasswd to create protected directories XAMPP / apache

    I recently needed to protect some directories on my machine, on which I have XAMPP for windows (Apache, MySQL, PHP) installed. Incidentally there is also a portable version that will run from a memory stick, meaning you can set up a web server from any machine (running windows) by plugging in the stick and starting…