1

Topic: bug: wrong order in apache-config

==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: debian 6.0.3 - x64
- Any related log? Log is helpful for troubleshooting.
====

the "Order" is in the wrong order smile

example in /etc/apache2/conf.d/iredadmin.conf
BAD

Order deny,allow

should be

Order allow,deny

so this example for using the correct order (restart apache ...)

Order allow,deny
Allow from 127.0.0.1 

will block access from hosts other than 127.0.0.1



diff for awstats.sh

 50c50
<     order deny,allow
---
>     Order allow,deny

diff for iredadmin.sh

94c94
<     Order deny,allow
---
>     Order allow,deny

Greetings
Mike

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: bug: wrong order in apache-config

Fixed in iRedMail trunk version. Thanks for your feedback. smile

3

Re: bug: wrong order in apache-config

awstats.sh-patch is missing

patch -N iRedMail-0.7.3/functions/awstats.sh << "ENDOF"
@@ -49,3 +49,3 @@ ${CONF_MSG}
     Options ExecCGI
-    order deny,allow
+    Order allow,deny
     allow from all
ENDOF

Greetings
Mike

4

Re: bug: wrong order in apache-config

Fixed. Thanks smile