# A site fails with "Option FollowSymLinks not allowed here"

UrbeStack sysadmin note about Apache. Last updated 30 Nov 2026.

A site returns `500 Internal Server Error` because its `.htaccess` contains `Options +FollowSymLinks`. UrbeStack prevents `.htaccess` from enabling that Apache option, and you can use `SymLinksIfOwnerMatch` in its place.

## Symptoms

Every page of the site returns `500 Internal Server Error`. Run `urbestack-domain-log --name example.com --type error` to see the error in the domain's log.

```output
[Mon Nov 30 08:12:29.356837 2026] [core:alert] [pid 1378:tid 1450] [client 203.0.113.10:40634] /home/USER/files/web/example.com/public_html/.htaccess: Option FollowSymLinks not allowed here
```

## Cause

Some applications include a `.htaccess` file with `Options +FollowSymLinks`.

UrbeStack allows `.htaccess` to set only `Indexes`, `MultiViews` and `SymLinksIfOwnerMatch`. `FollowSymLinks` would let Apache follow a link to files outside the site owner's ownership, such as files owned by another account.

`SymLinksIfOwnerMatch` is already enabled for every site. It is sufficient for `RewriteEngine On`.

## Resolution

Run this command to replace the `Options +FollowSymLinks` line in the site's `.htaccess`, substituting the domain owner's UrbeStack username for `USER` and the domain for `example.com`.

```
sed -i 's/^Options +FollowSymLinks/Options +SymLinksIfOwnerMatch/' /home/USER/files/web/example.com/public_html/.htaccess
```

You can also delete the `Options +FollowSymLinks` line because the site already has `SymLinksIfOwnerMatch` enabled.

Load the page again. It returns `200`.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
