Directory listing.

ramirez

Verified User
Joined
Mar 10, 2004
Messages
19
Everytime I create a new subdomain or domain via DirectAdmin, it automatically sets the directory listing to be disabled for it and, in matter of fact, for every other domain and subdomain.
To enable directory listing for them, I need to go to domain conf file everytime and allow the directory listing myself by editing it.
Is there someway to make it enabled by default, or can I somehow overwrite the rule with htaccess (and then put to root of my domain)?
Thanks.
 
if i would want to have directory listings on by default, can i edit /usr/local/directadmin/data/templates/httpd.conf, and what do i need to edit?
 
Hello,

Actually, you can do it globally for everyone once in the /etc/httpd/conf/httpd.conf file by changing (may not be exactly the same):

<Directory /home/*>
AllowOverride All
Options MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec +Includes

to

<Directory /home/*>
AllowOverride All
Options MultiViews +Indexes SymLinksIfOwnerMatch IncludesNoExec +Includes

John
 
ok, that worked

and if i wanted to make per domain directory listing available?
 
Back
Top