W3 Total Cache's Minify URL doesn't work on a XAMPP installation. In the dashboard, after enabling Minify with the default settings, the user gets an error "It appears Minify URL rewriting is not working..." and nothing gets Minified.
- install XAMPP on windows
- install wordpress
- install w3 total cache
- enable Minify
Minification of JS and CSS
Error visible on-screen: "It appears Minify URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration."
Error in apache error log:
[Mon Sep 26 15:50:43 2011] [alert] [client xxx.xx.xx.xxx] /blah/wp-content/w3tc/min/.htaccess: RewriteBase: argument is not a valid URL
To really test, I attempted to go to the test URL http://path/to/wp/wp-content/w3tc/min/w3tc_rewrite_test and I got a 500 internal server error (log entry is above). I changed the RewriteBase line to read
RewriteBase /wpdir/wp-content/w3tc/min/ and executed the URL in the browser and got 'OK' back. So I assume this is the correct line to have on a XAMPP installation, however W3TC doesn't like it. It considers Minify to be disabled at that point and outputs: "Minify is not active. To enable it, add the following rules into the server configuration file ..."
I also tried selecting the option not to check the rewrite rules but then it's still not attempting to minify.