[horde] Recommended Apache config

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Tue Apr 2 09:24:45 UTC 2013


Hello,

stumbeled the hard way across the need for activated .htaccess and  
rewrite stuff for Horde/Nag and maybe other parts of Horde. This  
really makes me wonder if there is some resource which explains what  
are the recommended/needed webserver features are. In the installation  
docs i have not found anything about this and it looks like older  
versions of Horde/IMP/Nag haven't need it also.
With something around this it is now working but with the below quote  
from the Apache documentation i'm not sure if this is the preferred way:

<Directory "/var/www/horde">
   Options -Indexes -ExecCGI -Includes -MultiViews
   AllowOverride FileInfo Limit
   Order allow,deny
   Allow from all
</Directory>


Quota from Apache docus regarding .htaccess:

You should avoid using .htaccess files completely if you have access  
to httpd main server config file. Using .htaccess files slows down  
your Apache http server. Any directive that you can include in a  
.htaccess file is better set in a Directory block, as it will have the  
same effect with better performance.

So should i try to merge the .htaccess in the main config?

Is this documented somwhere?

Thanks for any help

Regards

Andreas



More information about the horde mailing list