Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.52 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.52 KB

web-customizations

A collection of various code snippets I discovered on my self-learning journey of coding in web design

Changelog

Last Updated 07-11-20 - Added the overcome directory pertaining to jailbreaking Cpanel

  • Update 04-23-20 - Updates are added as each file is added

.htaccess

An .htaccess file is a simple ASCII file that lets the server know what configuration changes to make on a per-directory basis. It is often placed at the root of a director and will affect that particular directory. There are multiple uses for the .htaccess file but for the one located here, it includes hiding the .html extension and forcing your site to use SSL (you must have a SSL certificate configured to work with your site in order for the latter function to work).

Other possible uses for the .htaccess file not included in mine:

  • Redirect the user to different page
  • Password protect a specific directory
  • Block users by IP
  • Preventing hot-linking of your images
  • Rewrite URLs
  • Specify your own Error Documents

License

This is just a simple collection of things I've learned as a point of reference for myself. It is not intended to act or serve as any sort of guide. If you've found something useful, feel free to apply them at your own risk. I am not responsible for any adverse effects utilizing the code found here when applied to your host or webserver. If you run into issues, feel free to ask but keep in mind, I'm not expert and will do my best to provide help where I can. If not, I'll try to point you in the right direction.