How to prevent SSH from timing out

Client Side Keep Alive

This method is set on your client machine which you’re using to connect to the server. If you’re using Linux, the method is similar to the Server Side steps with a couple of minor differences.

Read More

How to fix CWP install SSL error

acme.sh is now using zerossl, change it to letsencrypt CA server

this is due to acme client changed the default CA to zerossl to change back to letsencrypt run the below command as root

Read More

Some MySQL Tips!

Replace email domain

UPDATE personal SET email = REPLACE(email, SUBSTRING_INDEX(email, '@', -1), 'yopmail.com')

Read More

Enable CORS in Lumen

Consider creating a CorsMiddleware.php file with the following code. ```php <?php namespace App\Http\Middleware;

Read More

Some tips with .htaccess

Angular

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index
RewriteRule (.*) index.html [L]
Read More