vqadmin

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Sep 27 14:10:02 PDT 2005


tethys ocean <tethys.ocean at gmail.com> writes:

> I want setup vqadmin-2.3.6. FreeBSD 5.4 and qmail-1.03_4 and
> qmailadmin-1.2.7,1 apache+mod_ssl-1.3.33+2.8.22 mysql-server-4.0.24_1 is
> running on my system. Install vqadmin from ports and than setting up depens
> on http://freebsd.qmailrocks.org/vqadmin.htm but it is not running
> 
> installaion by using port with setted up make
> enable-cgibindir=/usr/local/www/cgi-bin enable-htmldir=/usr/local/www/data
> install clean
> 
> my www directory contains these directory and files
> bash-2.05b# ls -als
> total 20
> 2 drwxr-xr-x 9 root wheel 512 Jul 1 21:05 .
> 2 drwxr-xr-x 15 root wheel 512 Jul 1 20:07 ..
> 2 drwxr-xr-x 3 root wheel 512 Jul 1 20:21 cgi
> 2 drwxr-xr-x 5 vpopmail vchkpw 512 Sep 25 14:56 cgi-bin
> 2 drwxr-xr-x 3 root wheel 512 Sep 25 14:51 cgi-bin-dist
> 2 drwxr-xr-x 6 root wheel 512 Sep 25 15:28 data
> 2 drwxr-xr-x 3 root wheel 1024 Sep 25 14:51 data-dist
> 4 drwxr-xr-x 3 root wheel 3584 Jul 1 21:05 icons
> 2 drwxr-xr-x 2 www www 512 Jul 1 21:05 proxy
> bash-2.05b#
> 
> 
> bash-2.05b# ls -als cgi-bin
> total 10
> 2 drwxr-xr-x 5 vpopmail vchkpw 512 Sep 25 14:56 .
> 2 drwxr-xr-x 9 root wheel 512 Jul 1 21:05 ..
> 2 drwxr-xr-x 2 root wheel 512 Jul 1 20:21 qmailadmin
> 2 drwxr-xr-x 2 root wheel 512 Jul 1 20:36 sqwebmail
> 2 drwxr-xr-x 3 vpopmail vchkpw 512 Sep 25 14:51 vqadmin
> bash-2.05b#
> 
> My httpd.conf is
> 
> <VirtualHost mydomain.com <http://mydomain.com>>
> ServerAdmin root at mydomain.com
> DocumentRoot /usr/local/www/cgi-bin/vqadmin
> ServerName mydomain.com <http://mydomain.com>
> #ServerAlias mydomain.com <http://mydomain.com>
> ScriptAlias /cgi-bin "/usr/local/www/cgi-bin"
> </VirtualHost>
> 
> 
> .htaccess is
> 
> AuthType Basic
> AuthUserFile /usr/local/etc/apache/.htpasswd
> AuthName vQadmin
> require valid-user
> satisfy any
> 
> 
> but when *http://www.mydomain.com/cgi-bin/vqadmin/vqadmin.cgi*
> 
>  *Authentication Failed Username unknown*
> 
> *vQadmin was unable to determine your username, which
> means your webserver is improperly configured to run
> with this CGI.  For security reasons, this script
> will not run without Apache htaccess lists.
> 
> vqadmin <http://www.inter7.com/vqadmin/> 2.3.6
> 
> vpopmail <http://www.inter7.com/vpopmail/> 5.4.10*

Does the 
> AuthUserFile /usr/local/etc/apache/.htpasswd
actually exist?


More information about the freebsd-questions mailing list