PDA

View Full Version : Directory listing.



ramirez
03-22-2004, 10:48 AM
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.

ramirez
03-22-2004, 02:16 PM
Problem solved, you can override the setting with .htaccess. :)

sander815
04-18-2004, 11:34 PM
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?

DirectAdmin Support
04-19-2004, 11:19 AM
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

sander815
04-19-2004, 02:36 PM
ok, that worked

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

DirectAdmin Support
04-20-2004, 09:32 AM
Use an .htaccess file in the directory you want to see:

Options +IndexesJohn