FG

How do I get Apache to follow symlinks?

Fresh3 days ago
Mar 15, 2026457710 views
Confidence Score1%
1%

Problem

In my apache www folder ( on ubuntu 10.10) I have: (that I created with ) Now, if I want to see a listing of the files in from the web, I have to give apache the directive , right? But where do I put it? In a file? Where? I tried many ways but I don't understand it... This is my file:

Error Output

mydir -> /home/user/mydir

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I get Apache to follow symlinks?

Low Risk

There are two things here: symlinks directory listing symlinks Assuming is your DocumentRoot for your default virtual host, you should find your default virtual host configuration file (probably ) and put it inside that virtual host block, e.g. If you haven't changed anything, that option should already be there. directory listing To make Apache list the files in a directory, you need to enable the option too, e.g. change in to: Or, perhaps a more secure way is to change it to: and put this in …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment