- How To Make Subdomains on Apache What? When I say ‘subdomain’ I am talking about the part that comes before the actual domain. So the subdomain in this URL log.sbond.co is the part that says log. You can use subdomains to redirect to a different server which can show different content, but in this post, you will learn how to make a subdomain redirect to a directory in your site.
- Remove Indexing on Your Site What? If you go to your site and put a folder in the address bar instead of a file you will be greeted with folder indexing, which allows people to look at whatever is in that folder/directory. When allowed anyone can type in a ‘normal’ folder into the address bar on your site and then be greeted with an easy way of seeing every folder and every file on your site.
- Password Protect One File on Your Site What? Instead of protecting the whole directory on your site there is a way to protect individual files in that directory. How? Before you start: Finish this tutorial here and then come back to complete this one Ok, once you have finished the other tutorial you can simply add the following code around the code you already have inside of your .
- Password Protect A Directory on Your Site What Will You Be Using? To properly protect your directories/files on your public web server you will want to use back-end password protection. Front-end protecting with using things like JavaScript will not be very protecting of your files because, someone who goes on your page could simply click F12 and change your code, so they can type in a password they want it to be.
- Making Subdomains Which Redirect to Directory with .htaccess What? A subdomain looks something like this: wiki.sbond.co You will recognise one because it will have text before the actual domain, something like the www. you see before most sites. Luckily we have the .htaccess file because this all becomes a lot easier once you get into it. How? 1.
- Making .htaccess And .htpassword How? One thing to note is that .htaccess files do not have a file type. Just make sure you dont end up with something like: .htaccess.txt Simply create a text document, open it up with any text editor then go to file » Save as. When in the save as menu, click on Save as type, then change it to All types.
- Finding Directory of File Using PHP What? If you are using a hosting provider that doesn’t tell you exactly where the directory of your files are you are going to have to use other methods of finding this out. One of the methods which I think is the simplest is using a small PHP script which will tell you exactly where you file is.
- Simple Calculator Python What? This simple calculator program will allow the user to enter two (or more if you wish) numbers and then choose a method to use (+, -, /, *). We will use if statements. How? Well, first we need to add 3 (or more) variables. The first two will be holding the user’s numbers and the third will be the method they want to use (Both variables will be asking for the user’s input as well).
- On Click Refresh JavaScript What? If you have been looking to refresh the page with JavaScript, you are lucky. I have three different methods of achieving this, with the last two being pretty similar. I am going to make an image on my page (You can use anything such as text or a button) and then add the onclick function to it, so when it is clicked it refreshes the page.
- Rockyou.txt What's This? rockyou.txt is a text document filled with over 14 million cracked passwords. It is filled with easily crackable passwords. Repo