View Full Version : vqadmin
andrew
02-25-2004, 08:19 PM
Hi
I am installing qmail for the first time on a debian box and have followed the steps up to 7 successfully.
Step 7 configures and compiles correctly using ./configure --enable-cgibindir=/var/www/cgi-bin --enable-htmldir=/var/www/
I have inserted
<Directory "/var/www/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
into my httpd.conf file and apache restarts fine.
The problem is that when i go to http://192.168.0.15/cgi-bin/vqadmin/vqadmin.cgi I get a 404 page not found.
Has anyone come across this before or can point me to what I might be missing.
I repeated steps 6 & 7 after deleting and extracting the tar'd files
Thanks in advance
Andrew
JaredBS
02-28-2004, 09:21 AM
On Debian, Apache cgi-bin is located there : /usr/lib/cgi-bin
andrew
03-01-2004, 01:47 AM
Thank yo
stormer
04-25-2004, 12:58 PM
I cant get by the login thingie. it keeps geting me back to name/pw popup box and I do type thr right name & password....
any ideas?
I had wrong patch in my .htaccess file. now up and running
Bookworm
04-25-2004, 04:18 PM
name/password popup box thingie is done through the .htpasswd file.
Reread that section
BW
nick26
05-19-2004, 05:15 AM
I get this error:
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.
I've done everything as it says in the guide on the site. I've read the faq, but I still get that error and I have that <Directory> in my httpd.conf:
<Directory "/usr/lib/cgi-bin/vqadmin/">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
And .htaccess works fine with my normal account.
Bookworm
05-19-2004, 10:17 PM
Username unknown means you aren't actually putting in the right username and password.
What does the .htaccess file look like and what does the htpasswd file look like?
Actual files, please. You can always change them later.
BW
nick26
05-20-2004, 06:55 AM
I got by that problem, but now it doesn't accept my login.
This is in log: [error] user admin not found: /cgi-bin/vqadmin/vqadmin.cgi
.htaccess:
AuthType Basic
AuthUserFile /usr/.htpasswd
AuthName vQadmin
require valid-user
satisfy any
.htpasswd
admin:LYct4z3f0HaI.
nick26:rFYC8SReRazZc
nueunix
05-21-2004, 11:00 AM
hey Nick,
I got the same problem as you have:
"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."
can you share me the steps that you did to work around this?
Thanks,
Nueunix
(actually very nue :)
nick26
05-21-2004, 11:11 AM
I just changed the port to 81, because i had something running in port 80.
nueunix
05-21-2004, 11:28 AM
forgive me Nick,
but how did you change the port from 80 to 81, what file do I need to edit to do that?
thanks in advance!
Nueunix
nick26
05-21-2004, 01:55 PM
You can find it in the apache config (httpd.conf). My config was in /etc/apache . Remenber to add :81 after ip/address of your linux, when try to access trought the internet
nueunix
05-21-2004, 02:05 PM
thanks Nick,
I did that earlier but still same error appeared,
It's like I'm almost there, but just not there...
what am I missing?
thanks,
Nueunix
nick26
05-21-2004, 04:38 PM
Check apache error logs, they might give you a hint. But changing the port helped for me. I'm just stuck with that another problem :x
Bookworm
05-22-2004, 10:16 PM
I got by that problem, but now it doesn't accept my login.
This is in log: [error] user admin not found: /cgi-bin/vqadmin/vqadmin.cgi
.htaccess:
AuthType Basic
AuthUserFile /usr/.htpasswd
AuthName vQadmin
**** here's the problem ****** - AuthName vQadmin
require valid-user
satisfy any
.htpasswd
admin:LYct4z3f0HaI.
*******here's the other half ****** -
nick26:rFYC8SReRazZc
See above at the *****
The .htaccess file wants the user vQadmin. You're telling it in the .htpasswd file that you have two users - 'admin' and 'nick26'.
change 'admin' to 'vQadmin' - then try logging in as 'vQadmin' and your password - or reverse the process, and make the vQadmin 'admin'. then try logging in with 'admin'
This seems to be one of the more common flubs with VQadmin. I may suggest to the QMR that he add it to a FAQ.
BW
nick26
05-23-2004, 07:41 AM
I got by that problem, but now it doesn't accept my login.
This is in log: [error] user admin not found: /cgi-bin/vqadmin/vqadmin.cgi
.htaccess:
AuthType Basic
AuthUserFile /usr/.htpasswd
AuthName vQadmin
**** here's the problem ****** - AuthName vQadmin
require valid-user
satisfy any
.htpasswd
admin:LYct4z3f0HaI.
*******here's the other half ****** -
nick26:rFYC8SReRazZc
See above at the *****
The .htaccess file wants the user vQadmin. You're telling it in the .htpasswd file that you have two users - 'admin' and 'nick26'.
change 'admin' to 'vQadmin' - then try logging in as 'vQadmin' and your password - or reverse the process, and make the vQadmin 'admin'. then try logging in with 'admin'
This seems to be one of the more common flubs with VQadmin. I may suggest to the QMR that he add it to a FAQ.
BW
I did that and problem didn't go away . Here are the files again:
.htaccess:
AuthType Basic
AuthUserFile /usr/.htpasswd
AuthName vQadmin
require valid-user
satisfy any
.htpasswd:
vQadmin:CmktocSCmkMQc
admin:zLqwuHfkgfbMo
And in error.log is this:
[error] user vQadmin not found: /cgi-bin/vqadmin/vqadmin.cgi
nick26
07-06-2004, 05:04 PM
I finally got it working, but when I try to create a domain, I get error:
Create Domain: Permission denied
And in apache error log:
File does not exist: /var/www/default.ida
File does not exist: /var/www/images/vqadmin/vqadmin.css
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.