Hi,

    I have deployed static resources into /var/www/html/htdocs dir. And 
used apache aliasing as documented here 
(https://trac.edgewall.org/wiki/TracInstall#MappingStaticResources) to map 
the css, js, images. Mapping worked fine.

    But say, I have aliased like this, 

Alias /trac/chrome /var/www/html/htdocs


when I access https://mysite.com/trac/chrome It lists all the files and 
subdirectories inside the /var/www/html/htdocs dir. I want to disable it 
for security reason. 

I tried to configure apache like this,

<Directory "/var/www/html/htdocs">
    Options -Indexes
</Directory>

But that didn't work. It still lists all files to public. How can I disable 
this directory listing? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to