Recognition

Contributions

7 Contributions
  • Published Question

    disable FastCGI cache for mobile

    I'm using WordPress and different theme for mobile & desktop. FastCGI cache storing only one version. Sometimes it showing desktop version on mobile and sometimes mobile version on desktop. My question 1. Is it possi...
    Accepted Answer: if ( $http_user_agent ~* '([^-]+)Android' ) { #yourcode here } if ( $http_user_agent ~* '([^-]+)iPhone' ) { #yourcode here }
    1 By bepari662 Nginx
  • Published Answer

    404 Not Found (example.com/category/parmalink.html)

    Problem solved
    By bepari662
  • Published Question

    Nginx Basic Auth not working

    I'm trying to add basic auth for wp-login but it is not working Here is the code I have added to /etc/nginx/sites-available/default file location ^~ /wp-login.php { auth_basic "Admin Login"; ...
    1 By bepari662 Nginx
  • Published Question

    404 Not Found (example.com/category/parmalink.html)

    Nginx showing 404 error for all URL. My url structure is example.com/beauty-grooming/best-wax-for-hair-india.html when try after changing parmalink without .html, it is working. vHost ``` server { # SSL configuration...
    1 By bepari662 Nginx
  • Published Question

    login issue from Linux terminal

    I am trying to access my droplet from the Linux terminal using below command: ssh -i /<path>/key.ppk root@<server-IP> But it showing error Load key "/<path>/key.ppk": invalid format root@<server-IP>: Permission den...
    1 By bepari662 Ubuntu 18.04 Logging Apache
  • Published Question

    mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when du mping table `wp_postmeta` at row: 7237

    How to solve the below apache error mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when du mping table `wp_postmeta` at row: 7237
    Accepted Answer: Hello, This does not look like an Apache error but an error form mysqldump. You could try running your export with the following flag: mysqldump --max_allowed_packet=1G Hope that this helps! Regards, Bobby
    1 By bepari662 Apache
  • Published Question

    #2002 - No such file or directory &mdash; The server is not responding (or the local server's socket is not correctly configured).

    When I try to login my PHPMyAdmin, I get the following error messages: ``` 2002 - No such file or directory &mdash; The server is not responding (or the local server's socket is not correctly configured). mysqlirealc...
    2 By bepari662 MySQL PHP Apache Ubuntu 18.04