fra_casula
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Custom files doesn't work anymoreThe problem persists. It seemed fixed but the rackspace URLs now expose my document root path (ie. https://rackspacecdn.com/var/www/… that’s bad!).
The W3 Total Cache engine also tries to replace the image url through the ob_callback() function on the frontend side but it builds the wrong regexps (with the full path).
So, the only way to get this done seems through placeholders but they don’t work with subfolders.This is my apache virtual host:
<VirtualHost *:80>
Alias /company/blog “/var/www/company/blog-root”
<Directory “/var/www/company/blog-root/”>
AllowOverride All
Order allow,deny
Allow from All
</Directory>
</VirtualHost>My siteurl and home options are “https://www.example.com/company/blog”
My .htaccess is:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /company/blog/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /company/blog/index.php [L]
</IfModule>What’s wrong?
Forum: Plugins
In reply to: [W3 Total Cache] Custom files doesn't work anymoreAfter some digging I figured out the problem.
It’s been happening since I’ve moved my WP under a subfolder. So my “siteurl” was https://www.example.com and now is https://www.example.com/company/blog
The problem seems to be in the replace placeholders function (W3_Plugin_Cdn::_replace_folder_placeholders). It breaks my path, so I solved on my own using the full path (ie. /var/www/wp/wp-content/gallery/*).Anyway, is it possible to have a fix to keep using placeholders?
same issue