Get your free beta license ↗
Websites · Apache

A site fails with “Option FollowSymLinks not allowed here”

Last updated 30 Nov 2026
Summary

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

  1. 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
  2. You can also delete the Options +FollowSymLinks line because the site already has SymLinksIfOwnerMatch enabled.

  3. Load the page again. It returns 200.