vqadmin

tethys ocean tethys.ocean at gmail.com
Wed Sep 28 09:20:02 PDT 2005


<VirtualHost my ip>
ServerAdmin root at 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 at be-well.ilk.org> wrote:
>
> 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> <http://mydomain.com>>
> > ServerAdmin root at 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?
>


More information about the freebsd-questions mailing list