Remove parameters within nginx rewrite

Had a similar problem, after a lot of searching the answer presented itself in the rewrite docs. If you specify a ? at the end of a rewrite then Nginx will drop the original $args (arguments) So for your example, this would do the trick: location ^~ /mypage.php { rewrite ^/mypage.php$ http://www.example.com/mypage? permanent; }

404 error for Google Tag Manager

You need to publish a version of your container. If it is not published, the request will return a 404 error. To publish your current workspace: Click Submit at the top right hand side of the screen. The Submit Changes screen will appear, with options to publish the container and save a version of your … Read more

get all keys set in memcached

Found a way, thanks to the link here (with the original google group discussion here) First, Telnet to your server: telnet 127.0.0.1 11211 Next, list the items to get the slab ids: stats items STAT items:3:number 1 STAT items:3:age 498 STAT items:22:number 1 STAT items:22:age 498 END The first number after ‘items’ is the slab … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)