[Plugin: W3 Total Cache] non-standard docroot setup; Minify can't find sources
-
Our WordPress installation is in a subdirectory of our document root – /help
Minify can’t find any of the sources, even though they all verify fine while being added. Any request to a minified file produces 400 Bad Request, with nothing in the minify log except:
[Fri, 13 Aug 2010 00:03:19 -0700] [/help/wp-content/w3tc/min/98997b/default.include.0.css] A group configuration for “include” was not set
One thing I’ve noticed is that the .htaccess file in w3tc/min has a RewriteBase that is a filesystem absolute path, rather than a URI absolute path, which is what I usually see in RewriteBase, i.e.
# BEGIN W3TC Minify
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /var/www/help/wp-content/w3tc/min/
RewriteRule ^([a-f0-9]+)\/(.+)\.(include(\-(footer|body))?(-nb)?)\.[0-9]+\.(css|js)$ index.php?tt=$1&gg=$2&g=$3&t=$7 [L]
</IfModule>
# END W3TC MinifyIs that normal? I ask because I can’t even get min/index.php to run unless I change RewriteBase to /help/wp-content/w3tc/min/
Also, I noticed W3TC patches the .htaccess in the document root, when I believe it would be more appropriate to patch it in the WordPress installation subdirectory.
Is there a way to “teach” W3TC that WordPress is installed in a subdirectory?
- The topic ‘[Plugin: W3 Total Cache] non-standard docroot setup; Minify can't find sources’ is closed to new replies.