Unable to establish connection using ssh2_connect() in PHP I have used the ssh2_connect() function to establish a connection to a remote SSH server. But it works on one...
error: src refspec main does not match any [GIT] Created a private repository on GitHub and when tried to push the files from my server using the below commands,...
Unexpected keyword argument ‘token’ [Openstack] While verifying Openstack RESTful API, I generated a token with default scope using the cURL command as shown below and...
How to stop Apache mod_rewrite log message [Apache] I had written a few rewrite rules to disable HTTP TRACE and TRACK as part of VAPT. When looking at...
How to setup WSO2 with Let’s Encrypt certificate Setting up an SSL certificate for WSO2 API Manager is not straightforward, as it requires creating Keystore and adding an...
How to Enable HSTS (HTTP Strict Transport Security) Policy in Nginx & Apache According to Netcraft’s study, 95% of HTTPS servers are vulnerable to Man-in-the-Middle attacks. Therefore, it is very important to implement...
How to disable HTTP TRACE/TRACK methods in APACHE VAPT testing by the security experts group suggested disabling HTTP TRACE/TRACK methods. TRACE and TRACK are HTTP methods that are...
Error accessing backend service – WSO2 forgot password I had configured WSO2 successfully and NGINX reverse proxy is set up as well. However, clicking forgot password link from...
Hide Apache and PHP versions from HTTP Headers Website security is the most important and critical component of web hosting and revealing Apache and PHP versions on the...
Change brand attribute URLs to SEO friendly URLs in WooCoomerce I have been using WoodMart WooCommerce Theme for one of my client’s e-commerce websites. The theme had an option to...
Failed to open stream: Permission denied [Apache] Moved my local development files to the server after setting up Apache, PHP, and MySQL on my CentOS 7. When...
Audio stuttering via TP Link UB400 Bluetooth on Windows? – Fix! I recently bought myself Bluetooth-based Boult Audio AirBass TrueBuds for my phone. I also wanted to use the same on...
RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported [htaccess] After removing the .php extension from the URLs, I ended up seeing a warning “RewriteCond: NoCase option for non-regex pattern...
[Chrome]: DevTools failed to load source map: Could not load content for bootstrap.min.js.map When adding a bootstrap javascript library to my webpages, Chrome warned as DevTools failed to load source map. Below is...
[CentOS 7 Apache]: Permission denied: file permissions deny server access Whenever I configure Apache on CentOS 7, most of the time I get “(13) Permission denied: file permissions deny server...
Remove .php extension from the URL [htaccess] I love PHP, but my boss does not. Once, he was not happy to see the project coded in PHP...
Rubygems-update requires Ruby version >= 2.3.0 [Fix] I was trying to update rubygems and ended up with an error “Error installing rubygems-update: rubygems-update requires Ruby version >=...
Share Google One storage with your family I recently purchased a 100GB Google One Storage plan. In order to share the storage with my family, I created...
Using multiple patterns at once with Sed command Here’s a question from one of our regular readers Mr. Manish. His question is, how to use multiple patterns at...