Definitely: the last RewriteRule (RewriteRule ^.*$ proxy.php [NC,L]) gives no chance to anything: it tells to rewrite all addresses to proxy.php. If disabling the RewriteEngine at first line changes nothing, try renaming the .htaccess file: it means there's something interfering, e.g.: another .htaccess file, the main server config, or even that your .htaccess files are not parsed by the server (which, I noticed, is not Apache but cloudflare-nginx). AFAIK only Apache parses .htaccess files