Posts

Featured Post

Cloudflare Settings for Marketing Websites

Cloudflare is a widely-used content delivery network (CDN) and cybersecurity company that offers a suite of performance and security solutions for websites. This documentation provides guidelines and best practices for configuring Cloudflare settings specifically tailored to marketing websites. By leveraging Cloudflare's features effectively, marketing teams can enhance website performance, reliability, and security while optimizing user experience. Features and Configurations: Content Delivery Network (CDN) Configuration: Enable Cloudflare's CDN to accelerate website loading times by caching static content and serving it from Cloudflare's edge servers located worldwide. Configure caching settings to cache static assets such as images, CSS, and JavaScript files, ensuring faster page load times for visitors. SSL/TLS Encryption: Enable SSL/TLS encryption to secure data transmission between visitors and the website's server. Configure Cloudflare's SSL/TLS settings to e

Drupal module Security Kit

Drupal Security Kit (Seckit) is a module designed to enhance the security of Drupal websites by providing various security features and configurations. It aims to mitigate common security risks and vulnerabilities associated with Drupal websites, ensuring a more robust and secure online presence. Features: Content Security Policy (CSP) Integration: Seckit integrates with Content Security Policy (CSP), allowing administrators to define and enforce policies to mitigate the risks of Cross-Site Scripting (XSS) attacks. Administrators can configure CSP directives to specify trusted sources for various types of content, such as scripts, stylesheets, images, fonts, and more. HTTP Strict Transport Security (HSTS) Support: The module facilitates the implementation of HTTP Strict Transport Security (HSTS) headers, ensuring that web browsers enforce secure connections over HTTPS. Administrators can configure HSTS parameters, including the max-age directive and the inclusion of subdomains. X-Conte

Blank page on NextJs project even every code was right - culprit was browser extension

Image
 I was working on some Nextjs projects where I have to show the Ads services content, so I created a file called ads-services.js under the pages folder of the NextJs project. Then, I added the code something like the below:   Built it and run it in the browser and everything is blank, cannot see anything. Found solution after 1/2 hour, either I have to disable the Adblocker extension used in the browser or need to change the ads-service.js file name to something live management-services.js  Rare headache which makes you bald.

Increase Persistent Disk in google cloud Virtual Machines through command lines

 lsblk sudo gorwpart /dev/sda 1 duso resize2fs /dev/sda1 df -h

API endpoints collections for the creation of Cryptocurrencies payment modules

https://docs.metamask.io/guide/getting-started.html#basic-considerations  https://infura.io/docs/eth2 https://marketinsg.zendesk.com/hc/en-us/articles/360045156711-Crypto-com-Pay http://trufflesuite.com/index.html https://rarible.com/create/erc-721

Fixed: Opencart installation error linux: warning: fopen(system/storage) failed to open stream: Permission denied

Image
Warning: fopen(/var/www/html/webocreation.com/system/storage/session/....): failed to open stream: Permission denied in /var/www/html/webocreation.com/system/library/session/file.php on line 29 Warning: flock() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 31 Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 33 Warning: fflush() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 35 Warning: flock() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 37 Warning: fclose() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 39    These errors occurs because of the file permissions. In most of the forum, I found that they suggested to give full

AWS ssh error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

Image
 I was ssh-ing to AWS EC2 instance and got the error  Permission denied (publickey,gssapi-keyex,gssapi-with-mic) ----------------- sh-3.2# chmod 400 ec2-keypair.pem sh-3.2# ssh ec2-suer@54.89.86.26 -i ec2-keypair.pem The authenticity of host '54.89.86.26 (54.89.86.26)' can't be established. ECDSA key fingerprint is SHA256:LoSxZtmn3jyNZikgW6U50z3owgBM/Gm/pnK0aJNmScQ. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '54.89.86.26' (ECDSA) to the list of known hosts. ec2-suer@54.89.86.26: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). sh-3.2# ssh ec2-user@54.89.86.26 -i ./ec2-keypair.pem        __|  __|_  )        _|  (     /   Amazon Linux 2 AMI       ___|\___|___| https://aws.amazon.com/amazon-linux-2/ 25 package(s) needed for security, out of 39 available Run "sudo yum update" to apply all updates. [ec2-user@ip-10-0-1-24 ~]$ ----------------- Solution: The solution is just adding the right p