Joe Modjeski wrote:
> 
> Ok I figed it out:
> 
> In the edit.c file you have to comment out the #include <crypt.h>
> because FreeBSD defines the crypt functions in unistd.h.  That file is
> included above crypt.h so vQadmin will compile then.
> 
> During the install the chgrp will fail because there is no 'root' group
> on FreeBSD.  I made the change at the end of the makefile as follows
> 
> From:
>         chown root /www/qmailadmin/bin//vqadmin/vqadmin.cgi
>         chgrp root /www/qmailadmin/bin//vqadmin/vqadmin.cgi
> 
> To:
>         chown root /www/qmailadmin/bin//vqadmin/vqadmin.cgi
>         chgrp `id -g root` /www/qmailadmin/bin//vqadmin/vqadmin.cgi
> 
> Works for me now.

I've made your changes to the 1.4 development release. Looks good.


"Wagner" <[EMAIL PROTECTED]> wrote:
> I did the instalation of VQadmin 1.4 and when i try to log, there is an
> Apache Internal Error, in the log I can see the following line:
>
> /home/httpd/cgi-bin/vqadmin/.htaccess: deny not allowed here
>
> but my .htaccess is the same as the one in the INSTALL file.
>
>.htaccess file:
>
>deny from all
>AuthType Basic
>AuthUserFile /etc/httpd/conf/vqadmin.passwd
>AuthName "Restrict Access"
>require administrator
>satisfy any
>
>What's wrong with the .htaccess file ?

The INSTALL documentation was wrong. The 1.4 INSTALL documentation now
has the correct information.

Your .htaccess file should have
AuthType Basic
AuthUserFile /usr/local/apache/conf/vqadmin.passwd
AuthName dnsadmin
require valid-user
satisfy any

And your httpd.conf file should have:
<Directory "/usr/local/apache/cgi-bin/vqadmin">
    deny from all
    Options ExecCGI
    AllowOverride AuthConfig
    Order deny,allow
</Directory>

Ken Jones

Reply via email to