Quantcast
Channel: User easement - Stack Overflow
Viewing all articles
Browse latest Browse all 45

Answer by easement for Can you configure a single folder in a WordPress install that will allow directory list contents

$
0
0

You need to make a separate .htaccess file for the directory you want to be viewable. Be careful that directories deeper than the one you are in as .htaccess works downstream/cascades.

More info via: http://www.wise-women.org/tutorials/htaccess/

Allow directory browsing

There may be times when you want or need to allow visitors to browse a directory. For example, you may need to allow access to files in a directory for downloading purposes on a server that is configured to not allow it.

Many servers are configured so that visitors cannot browse directories. In that case visitors will not see the contents of the directory but will instead get an error message.

You can override the servers settings and allow directory browsing with this line:

Options +Indexes

Viewing all articles
Browse latest Browse all 45

Latest Images

Trending Articles



Latest Images