my iredbase.py is located under /var/www/iredadmin/libs/iredbase.py
I still get http 500 and nithing had changed in log. I don't know where to find in log config name.
Here're some outputs:
/var/log/httpd/error_log
[Sat Jan 18 18:06:25 2014] [notice] caught SIGTERM, shutting down
[Sat Jan 18 18:06:26 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 18 18:06:26 2014] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 18 18:06:26 2014] [notice] Digest: done
[Sat Jan 18 18:06:26 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
[Sat Jan 18 18:06:47 2014] [notice] caught SIGTERM, shutting down
[Sat Jan 18 18:06:48 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 18 18:06:48 2014] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 18 18:06:48 2014] [notice] Digest: done
[Sat Jan 18 18:06:48 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
/var/log/httpd/ssl_error_log
[Sat Jan 18 18:06:48 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] mod_wsgi (pid=794): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] mod_wsgi (pid=794): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] Traceback (most recent call last):
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] File "/var/www/iredadmin/iredadmin.py", line 9, in <module>
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] from libs import iredbase
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] File "/var/www/iredadmin/libs/iredbase.py", line 18, in <module>
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] import iredutils
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] File "/var/www/iredadmin/libs/iredutils.py", line 254, in <module>
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] min_passwd_length=settings.min_passwd_length,
[Sat Jan 18 18:07:29 2014] [error] [client 10.10.30.154] AttributeError: 'module' object has no attribute 'min_passwd_length'
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] mod_wsgi (pid=794): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] mod_wsgi (pid=794): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] Traceback (most recent call last):
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] File "/var/www/iredadmin/iredadmin.py", line 9, in <module>
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] from libs import iredbase
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] File "/var/www/iredadmin/libs/iredbase.py", line 18, in <module>
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] import iredutils
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] File "/var/www/iredadmin/libs/iredutils.py", line 254, in <module>
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] min_passwd_length=settings.min_passwd_length,
[Sat Jan 18 18:07:39 2014] [error] [client 10.10.30.154] AttributeError: 'module' object has no attribute 'min_passwd_length'
ssl_reqest_log
[18/Jan/2014:18:07:29 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /iredadmin HTTP/1.1" 632
[18/Jan/2014:18:07:32 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/ HTTP/1.1" 4714
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/skins/larry/styles.css?s=1371395454 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/plugins/jqueryui/themes/larry/jquery-ui-1.9.1.custom.css?s=1371395453 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/skins/larry/ui.js?s=1371395454 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/program/js/jquery.min.js?s=1371395453 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/program/js/common.js?s=1371395453 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/program/js/app.js?s=1371395453 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/plugins/jqueryui/js/jquery-ui-1.9.1.custom.min.js?s=1371395453 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/program/js/jstz.min.js?s=1371395453 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/skins/larry/images/linen.jpg?v=0382.14157 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/skins/larry/images/linen_login.jpg?v=0484.10363 HTTP/1.1" -
[18/Jan/2014:18:07:33 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /mail/skins/larry/images/login_shadow.png?v=3337.1069 HTTP/1.1" -
[18/Jan/2014:18:07:39 +0100] 10.10.30.154 TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /iredadmin HTTP/1.1" 632
ssl_access_log
10.10.30.154 - - [18/Jan/2014:18:07:29 +0100] "GET /iredadmin HTTP/1.1" 500 632
10.10.30.154 - - [18/Jan/2014:18:07:32 +0100] "GET /mail/ HTTP/1.1" 200 4714
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/skins/larry/styles.css?s=1371395454 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/plugins/jqueryui/themes/larry/jquery-ui-1.9.1.custom.css?s=1371395453 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/skins/larry/ui.js?s=1371395454 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/program/js/jquery.min.js?s=1371395453 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/program/js/common.js?s=1371395453 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/program/js/app.js?s=1371395453 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/plugins/jqueryui/js/jquery-ui-1.9.1.custom.min.js?s=1371395453 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/program/js/jstz.min.js?s=1371395453 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/skins/larry/images/linen.jpg?v=0382.14157 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/skins/larry/images/linen_login.jpg?v=0484.10363 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:33 +0100] "GET /mail/skins/larry/images/login_shadow.png?v=3337.1069 HTTP/1.1" 304 -
10.10.30.154 - - [18/Jan/2014:18:07:39 +0100] "GET /iredadmin HTTP/1.1" 500 632