From owner-freebsd-questions@FreeBSD.ORG Wed Sep 28 16:20:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B037D16A41F for ; Wed, 28 Sep 2005 16:20:02 +0000 (GMT) (envelope-from tethys.ocean@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06D5743D58 for ; Wed, 28 Sep 2005 16:20:01 +0000 (GMT) (envelope-from tethys.ocean@gmail.com) Received: by xproxy.gmail.com with SMTP id t13so1419697wxc for ; Wed, 28 Sep 2005 09:20:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=CySssIUtA/Y5o/4tH+wjPhi2LWYpELZPc+5fVgdTBtJMZZByLa3sgcjs3+FshHsSYL9uYkpMxkfnvVOtwTqpWwVqrhlFLLNf7YEgjQfcUXkY2ZwQj/UA/bigGaoMPaz0jwcmoY9yhJFRmAOqwS86HybVO1FdFYhvwbHya/c5deQ= Received: by 10.70.110.20 with SMTP id i20mr3429597wxc; Wed, 28 Sep 2005 09:20:01 -0700 (PDT) Received: by 10.70.67.13 with HTTP; Wed, 28 Sep 2005 09:20:01 -0700 (PDT) Message-ID: <235b800005092809202d267ef6@mail.gmail.com> Date: Wed, 28 Sep 2005 19:20:01 +0300 From: tethys ocean To: freebsd-questions@freebsd.org In-Reply-To: <44slvqb4kf.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <235b8000050926091310903997@mail.gmail.com> <44slvqb4kf.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: vqadmin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tethys ocean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 16:20:02 -0000 ServerAdmin root@mydomain.com DocumentRoot /usr/local/www/cgi-bin/vqadmin AuthUserFile /usr/local/etc/apache/.htpasswd ServerName mydomain.com ScriptAlias /cgi-bin "/usr/local/www/cgi-bin" If I am added this line apache cant restart with this error bash-2.05b# apachectl restart /usr/local/sbin/apachectl restart: configuration broken, ignoring restart /usr/local/sbin/apachectl restart: (run 'apachectl configtest' for details) bash-2.05b# apachectl configtest Syntax error on line 21 of /usr/local/etc/apache/VHosts.conf: AuthUserFile not allowed here bash-2.05b# but I tried it as in the document deny from all Options ExecCGI AllowOverride AuthConfig Order deny,allow it is ok it check passwd but page come with another error page like this *Error Syntax erorr in access lists* error occured while initiating the interface. Please contact the administrator if this continues. vqadmin 2.3.6 vpopmail 5.4.10 On 27 Sep 2005 17:09:52 -0400, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > > tethys ocean 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 i= s > > 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=3D/usr/local/www/cgi-bin > enable-htmldir=3D/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 > > > > > > > ServerAdmin root@mydomain.com > > DocumentRoot /usr/local/www/cgi-bin/vqadmin > > ServerName mydomain.com > > #ServerAlias mydomain.com > > ScriptAlias /cgi-bin "/usr/local/www/cgi-bin" > > > > > > > > .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 2.3.6 > > > > vpopmail 5.4.10* > > Does the > > AuthUserFile /usr/local/etc/apache/.htpasswd > actually exist? >