Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2005 19:20:01 +0300
From:      tethys ocean <tethys.ocean@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: vqadmin
Message-ID:  <235b800005092809202d267ef6@mail.gmail.com>
In-Reply-To: <44slvqb4kf.fsf@be-well.ilk.org>
References:  <235b8000050926091310903997@mail.gmail.com> <44slvqb4kf.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<VirtualHost my ip>
ServerAdmin root@mydomain.com
DocumentRoot /usr/local/www/cgi-bin/vqadmin
AuthUserFile /usr/local/etc/apache/.htpasswd
ServerName mydomain.com <http://mydomain.com>;
ScriptAlias /cgi-bin "/usr/local/www/cgi-bin"
</VirtualHost>


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

<Directory "/usr/local/www/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>


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 <http://www.inter7.com/vqadmin/>; 2.3.6

vpopmail <http://www.inter7.com/vpopmail/>; 5.4.10






On 27 Sep 2005 17:09:52 -0400, Lowell Gilbert <
freebsd-questions-local@be-well.ilk.org> wrote:
>
> tethys ocean <tethys.ocean@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 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
> >
> > <VirtualHost mydomain.com <http://mydomain.com>; <http://mydomain.com>>;
> > ServerAdmin root@mydomain.com
> > DocumentRoot /usr/local/www/cgi-bin/vqadmin
> > ServerName mydomain.com <http://mydomain.com>; <http://mydomain.com>;
> > #ServerAlias mydomain.com <http://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?
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?235b800005092809202d267ef6>