Tag: XAMPP

  • 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…