Cdj wrote:
Hi,
i've just installed all the qmailrocks package on a linuxbox running
redhat 9, apache 1.3.28, mysql 4.0.18 , qmailadmin 1.2.10 (and tried
also 1.2.9), vpopmail 5.4.13 vqadmin 2.3.6 . Everything work fine, but
when i try to add user on qmailadmin (in italian) apache give me :
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request
and on the httpd logs :
[Thu May 25 13:57:09 2006] [error] [client XXX.XXX.XXX.XXX] Premature
end of script headers: /usr/local/apache/cgi-bin/qmailadmin
151.42.214.26 - - [25/May/2006:13:57:09 +0200] "GET
/cgi-bin/qmailadmin/com/adduser?user=postmaster&time=1148558226&dom=XXXX.com&
HTTP/1.1" 500 621
and on show mailbox :
blank screen appear!!!
Same thing in vqadmin when i clic show users :
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request
and on the logs :
[Thu May 25 13:59:46 2006] [error] [client XXX.XXX.XXX.XXX] Premature
end of script headers: /usr/local/apache/cgi-bin/vqadmin/vqadmin.cgi
151.42.214.26 - admin [25/May/2006:13:59:46 +0200] "POST
/cgi-bin/vqadmin/vqadmin.cgi HTTP/1.1" 500 621
My apache is configured with :
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
<Directory "/usr/local/apache/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
and
#Settaggi per vqadmin
<Directory "/usr/local/apache/cgi-bin/vqadmin">
deny from all
Options ExecCGI
#AllowOverride AuthConfig
AllowOverride All
Order deny,allow
</Directory>
File system privileges :
-rwsr-sr-x 1 vpopmail vchkpw 317632 mag 25 11:41 qmailadmin
drwxr-xr-x 3 vpopmail vchkpw 4096 mag 23 21:27 vqadmin
and vqadmin dir :
drwxr-xr-x 2 vpopmail vchkpw 4096 mag 23 21:23 html
-rw-r--r-- 1 vpopmail vchkpw 864 mag 23 21:23 vqadmin.acl
-rwsr-sr-x 1 root root 274576 mag 23 21:23 vqadmin.cgi
All the rest function of qmailadmin and vqadmin works great !!!
Tried also with qmailadmin 1.2.9, but the results is the same.
Please help me.
Thanks in advice
Dario Cdj
If you have selinux on your system be sure to disable it or
configure selinux to let vqadmin and qmailadmin run setuid.
Ken Jones