[SPAM] RE: [vqadmin] [SPAM] vQadmin - problem

"Michael Ross" <[email protected]> Mon, 21 Jan 2013 09:09:24 -0600
Newsgroups gmane.mail.vqadmin
Message-ID <[email protected]>
This is a multipart message in MIME format.

------=_NextPart_000_0039_01CDF7B7.01F65890
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: 8bit

If this is a fresh install of slackware, can we assume slackware 14? If that’s the case, you’re also running httpd-2.4.3, right? Best way to do it:

 

1.       Get rid of the .htaccess file in cgi-bin/vqadmin

2.       in your httpd.conf remove the directive “order deny,allow” and replace it with “require valid-user”

3.       apachectl -k restart

 

old way:

 

#httpd.conf

<Directory /srv/httpd/cgi-bin/vqadmin>

                deny from all

                Options ExecCGI

                AllowOverride AuthConfig

                Order deny,allow

</Directory>

#.htaccess

AuthType Basic

AuthUserFile /etc/httpd/vqadmin.passwd

AuthName vQadmin

require valid-user

satisfy any

 

new way

#httpd.conf

<Directory /srv/httpd/cgi-bin/vqadmin>

                Options +ExecCGI

                AllowOverride AuthConfig

                AuthType Basic

                AuthName vQadmin

                <RequireAll>

                                Require valid-user

                                Require ip 192.168.0.0/24

                </RequireAll>

</Directory>

 


Technically, you could split some of those directives into an .htaccess file, but 1. The larger your passwd file, the bigger the performance hit 2. If you have permission to install qmail on the box, you should prolly also have permission to edit httpd.conf.

 

Hope this helps.

 

 

 

From: Przemek Kuzioła [mailto:[email protected]] 
Sent: Monday, January 21, 2013 8:44 AM
To: [email protected]
Subject: [vqadmin] [SPAM] vQadmin - problem

 

Hi,
I've a problem with login to vqadmin.
Every time I get:

-----------------------------------------------------
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.
------------------------------------------------

It is a fresh installation. The system is Slackware.
There is  a .htaccess file and corresponding password file (made with htpasswd).
But it doesn't work. I've checked apache modules and it looked like all were loaded.
Even tried to delete password file and the message was still the same. It had no effect.
No errors in apache error.log
I'm stuck.
Regards

-- 
Pozdrawiam
Przemek Kuzioła 

 



!DSPAM:50fd3f0a34148484819868!

------=_NextPart_000_0039_01CDF7B7.01F65890
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: 8bit

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Consolas","serif";
	color:black;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:black;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1437016922;
	mso-list-type:hybrid;
	mso-list-template-ids:1802813510 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>If this is a fresh install of slackware, can we assume slackware 14? If that’s the case, you’re also running httpd-2.4.3, right? Best way to do it:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
 ; </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Get rid of the .htaccess file in cgi-bin/vqadmin<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>in your httpd.conf remove the directive “order deny,allow” and replace it with “require valid-user”<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !support
 Lists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>apachectl -k restart<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>old way:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","s
 ans-serif";color:black'>#httpd.conf<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>&lt;Directory /srv/httpd/cgi-bin/vqadmin&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                deny from all<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                Options ExecCGI<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                AllowOverride AuthConfig<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans
 -serif";color:black'>                Order deny,allow<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>&lt;/Directory&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>#.htaccess<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>AuthType Basic<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>AuthUserFile /etc/httpd/vqadmin.passwd<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>AuthName vQadmin<o:p></o:p></span></p><p class=MsoNorma
 l><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>require valid-user<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>satisfy any<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>new way<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>#httpd.conf<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>&lt;Directory /srv/httpd/cgi-bin/vqadmin&gt;<o:p></o:p></span></p><p c
 lass=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                Options +ExecCGI<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                AllowOverride AuthConfig<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                AuthType Basic<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                AuthName vQadmin<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                &lt;
 RequireAll&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                                Require valid-user<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                                Require ip 192.168.0.0/24<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>                &lt;/RequireAll&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>&lt;/Directory&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;
 font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><br>Technically, you could split some of those directives into an .htaccess file, but 1. The larger your passwd file, the bigger the performance hit 2. If you have permission to install qmail on the box, you should prolly also have permission to edit httpd.conf.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hope this helps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-seri
 f";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Przemek Kuzioła [mailto:[email protected]] <br><b>Sent:</b> Monday, January 21, 2013 8:44 AM<br><b>To:</b> [email protected]<br><b>Subject:</b> [vqadmin] [SPAM] vQadmin - problem<o:p></o:p></span></p></div></div>
 <p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi,<br>I've a problem with login to vqadmin.<br>Every time I get:<o:p></o:p></p><pre>-----------------------------------------------------<o:p></o:p></pre><pre>Authentication Failed Username unknown<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>vQadmin was unable to determine your username, which<o:p></o:p></pre><pre>means your webserver is improperly configured to run<o:p></o:p></pre><pre>with this CGI.  For security reasons, this script<o:p></o:p></pre><pre>will not run without Apache htaccess lists.<o:p></o:p></pre><pre>------------------------------------------------<o:p></o:p></pre><p class=MsoNormal>It is a fresh installation. The system is Slackware.<br>There is&nbsp; a .htaccess file and co
 rresponding password file (made with htpasswd).<br>But it doesn't work. I've checked apache modules and it looked like all were loaded.<br>Even tried to delete password file and the message was still the same. It had no effect.<br>No errors in apache error.log<br>I'm stuck.<br>Regards<o:p></o:p></p><div><p class=MsoNormal>-- <br>Pozdrawiam<br><i>Przemek Kuzioła</i> <o:p></o:p></p></div><p class=MsoNormal> <o:p></o:p></p></div>
!DSPAM:50fd3f0a34148484819868!

</body></html>


------=_NextPart_000_0039_01CDF7B7.01F65890--