- mod_rewrite
- An Apache module that provides URL rewriting and redirection using regular expression pattern matching. Required for most URL manipulation tasks including canonicalisation, slug rewriting, and redirect rules.
- RewriteRule
- An Apache directive that matches a URL pattern using a regular expression and rewrites or redirects it to a target URL, optionally with flags controlling behavior like permanent redirect status or case-insensitivity.
- RewriteCond
- A conditional directive that precedes a RewriteRule and adds extra match conditions such as checking the HTTP host header, HTTPS status, or request method before the rule fires.
- AllowOverride
- An Apache server configuration directive that controls which .htaccess directives are permitted in a given directory. AllowOverride All is required for most .htaccess functionality but reduces performance versus main config rules.
- mod_expires
- An Apache module that sets Expires and Cache-Control headers on responses based on file type or last-modified date, enabling browser-side caching of static assets to reduce server load and improve repeat-visit performance.
- .htpasswd
- A file containing username and hashed password pairs used by Apache's basic authentication module. Created and managed with the htpasswd command-line utility and referenced by the AuthUserFile directive in .htaccess.