Various IT stuff
Password protected directory on Apache
Last Updated: 06/11/2026For a pure HTML page on Apache, the simplest and most secure approach is to password-protect the entire directory using .htaccess + .htpasswd. Example Folder Structure Suppose your subdomain points to: /public_html/private-site/ ├── index.html ├── css/ ├── js/ ├── images/ └── documents/ Everything inside private-site will require a username and password. Step 1: Create a...
Let me google that for you
Last Updated: 02/11/2026Since we use computer devices a lot we tend to talk less to each other. If you try to start a conversation to an IT geek (or some web smartass) with a question you’ll probably get an answer to go Google it up. Now, that is very reasonable thing to do in the first place,...
Official soundtrack from the game Smash Hit
Last Updated: 02/11/2026www.smashhitgame.com All songs written by Douglas Holmquist. I was totally amazed by this game and the thrill it produces while playing so I had to share this soundtrack which is awesome! Enjoy 😉 Smash Hit OST by Douglas Holmquist
How to redirect a domain or web page
Last Updated: 06/11/2026Use a 301 redirect any time you need to send users to a different page and want to keep your traffic and SEO intact. Some of the most common scenarios for 301 redirects are when you’re consolidating duplicate pages into one main page and when you’re migrating from HTTP to HTTPS. A permanent redirect will...
How to remove PDF password protection
Last Updated: 02/11/2026In case you have a PDF file that you need to edit, but it is password protected and you don’t have access to its editing mode, but you do have permission to alter the document (from the owner or any other authorized person or entity) you can simply use your browser. In order to bypass...
How to create PHP Info file
Last Updated: 02/11/2026This file reads entire server setup but happens to be a vulnerability, so delete it after usage. Open text editor and insert the following code in it: <?php phpinfo(); ?> Save the file as info.php and upload it to the root of your website. You can then visit the info page and see the status...
Force www & non-www URL with htaccess file
Last Updated: 02/11/2026This is for simple sites without any subdomains. It’s important to be aware that if you don’t use a www (or some other subdomain) then all cookies will be submitted to every subdomain and you won’t be able to have a cookie-less subdomain for serving static content thus reducing the amount of data sent back...
