[ACCEPTED]-Accessing files outside the document root with Apache-document-root

Accepted answer
Score: 18

You can create a directory alias:


..... stuff .....

Alias /mydir /a/b/c


then you 5 could access the text file like so:


Note 4 that this needs to take place in the central 3 configuration file, not a .htaccess file.

Symlinks 2 are an option too. Make sure you have

Options +FollowSymlinks

turned 1 on.

More Related questions