Quick tips to help locate Apache & configuration file on Linux. This is simply answer where to find Apache configuration file (http.conf).
.htaccess is more than file extension that manages Web Server configurations. Here are some useful tips that can really make your life quite easy on Apache.
Clickjacking is well-known web application vulnerability where a transparent layer of attacker’s page overlays the primary webpage thereby hijacking the user clicks and actions. See how we can handle this using X-Frame-Options header.
See how to enable server side include (SSI ) on Apache2 for html file types (like .html, .htm, .shtml) using htaccess configuration. This can really remove redundancy of your code and make it more maintainable.
You can explicitly tell IE browsers to use its latest available rendering engine using a meta tag. This also prevents IE to open Quirks mode while rending page. You need to add below meta tag at page level to accomplish this.
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
In above meta tag, IE=edge tells IE to use its latest rendering engine. …