The best resources for developers

Mod-Rewrite loading files behind DocumentRoot. DocumentRoot - DocumentRoot - DocumentRoot.

<Directory "/home/other_files">
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from ::1/128

Tags: .htaccess mod-rewrite

Source: By Chad Paulson as answer to the question

This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 3.0

Related code-snippets: