0

So I've followed these instructions to setup htaccess on my ubuntu 11

https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles

and yet I'm not able to get a directory with an .htaccess file containing the text "Options +Indexes" to list directories when viewed in the browser.

So what gives?

Or perhaps there a more recommended way to enable per-directory listing of the content?

There is nothing in the logs to hint about the problem, only warning about mod_rewrite trying to start 3 times, so perhaps there's yet another config that overrides the /sties_enabled/default one?

1 Answers1

0

Extraction from functional conf

DocumentRoot "..."

<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
Lazy Badger
  • 3,067
  • 14
  • 13
  • 1
    Never, ever, EVER set AllowOverride All **OR** Allow from All on ***the OS root directory***! – adaptr Oct 26 '11 at 17:42
  • For server root, I must note... AllowOverride **All** isn't perfect for production, but usable for troubleshooting stage. Allow from All works nice, my paranoia agree with me – Lazy Badger Oct 26 '11 at 17:48
  • Seriously? Remind me to avoid you in any professional capacity, then. – adaptr Oct 26 '11 at 17:51
  • 1
    adaptr: I want to get working first, then maybe secure it, besides, there is no one else using that server.That's how it is already - no warnings about parsing the conf files when restarting apache, so no typos, I think – Lech Rzedzicki Oct 26 '11 at 17:58