Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
154 views
in Q2A Core by

My standard CHMOD is 755. On my pages in every directory I have empty index.php file as default, here no. What chmod will be best to prevent directory listing without errors in q&a? No info on install page http://www.question2answer.org/install.php

1 Answer

0 votes
by

This is actually done by the server, nothing to do with Q2A. You should be able to add the following to your htaccess (at the beginning of the file) to prevent directory listings:

Options -Indexes

by
edited by
it making error like display: http://ask.numer7.com/qa-content/
normal view is ok on home http://ask.numer7.com/

I removed it already (htacces change). In directory view I saw my page but with no css. Looks ugly and like a error
...