# htaccess

On top of Kirby CMS default content in .htaccess file there are few things we added.

### Security option for Apache server

```
Options -Indexes
```

### Kirby 3 Fingerprint plugin

And code needed for [Kirby 3 Fingerprint](https://github.com/bnomei/kirby3-fingerprint) plugin to work

```
# Fingerprint plugin
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)\.([0-9a-z]{32})\.(js|css)$ $1.$3 [L]
```

### Browser caching

**We didn't add and code for Browser caching**, but for your production .htaccess it would probably be wise to add.&#x20;

Resources you can look into for this:

* Short explanation <https://gtmetrix.com/leverage-browser-caching.html>
* Longer explanation <https://varvy.com/pagespeed/cache-control.html>
* A large set of possible options <https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess>

{% hint style="warning" %}
But be careful, you should know what you are doing.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.one.thezero.club/guide/installation/htaccess.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
