The following directive needs to be added to the .htaccess file in order to get SSI working on html, shtm, htm and shtml files:
| Code Block |
|---|
AddHandler server-parsed .shtml .html .htm .shtm
|
You can also simply name your files that contain Server Side includes .shtml and you will not need to add anything to your .htaccess file.
...
Related articles
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 510 |
|---|
| spaces | GKB |
|---|
| showSpace | false |
|---|
| sort | modified |
|---|
| reverse | true |
|---|
| typeshowSpace | falsepage |
|---|
| reverseexcludeCurrent | true |
|---|
| cql | type | pagelabel in ("shtml","includes","htaccess") and type = "page" and space = "GKB" |
|---|
| labels | SSI server side includes htaccess html shtml shtm |
|---|
|