Hi all<br><br>I need some support here :) I have configured a Varnish service in front of Apache (backend), the software which runs in backend is PHP (Magento). The problem is without Varnish, when we login in magento panel and we click on Clients/Export, Apache returns OK a CSV to download. No problem. But if we activate Varnish listening on :80 and Apache on :81, and we do the same process, at final moment Varnish returns a 503.<br>
<br>We have deployed Varnish VLC to work with Magento and all works fine. Here it is a brief extract of code relevant about Magento admin<br><br> # Don't cache pages for Magento Admin<br> # FIXME: change this rule if you use custom url in admin<br>
if (req.url ~ "^/(index.php/)?pc_deporv") {<br>
return(pass);<br> }<br><br> # Don't cache checkout/customer pages, product compare<br> if (req.url ~ "^/(index.php/)?(checkout|customer|catalog/product_compare|wishlist)") {<br> return(pass);<br>
}<br><br>I have added some other lines to try to avoid cache of .csv files, without success. Every time we execute code to expor CSV, we get a 503.<br><br>Can somebody give us some help? thanks!<br clear="all"><br>-- <br>
Rubén Ortiz<br><br><br>