-
How to easily redirect HTTP traffic to HTTPS using .htaccess file.
If you have an .htaccess file in your server, just modify it to add the following, save it and see the magic happen. You might need to refresh you http page if the browser has cached it. RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://whateveryourdomainis.com/$1 [R,L]
-
Adding a MySQL Remote User / Accessing MySQL Database Remotely [Simple Solution]
Here is a background – I have two desktops and a laptop that I generally use for development purposes. One of the desktop is my database server. However, when I tried to access the database from either my development laptop or a development desktop, I could not remotely connect to the mysql database that was […]
-
How to extract plain Text from HTML Website easily in Java
I was looking for ways to crawl websites, and to be able to only extract text. The reason I was trying to do this was to get the text from various websites to prepare Text Corpus for Natural Language Processing for a Nepali Language. There were several solutions on the internet, but nothing could be […]