Hi folks,
Normally vqadmin is accessible from all virtual hosts.
Example:
http://domain1/cgi-bin/vqadmin/vqadmin.cgi
http://domain2/cgi-bin/vqadmin/vqamdin.cgi
http://domain3/cgi-bin/vqadmin/vqadmin.cgi
I would avoid that. I would that only my first domain could have an access
for vqadmin.
Now I use an hoax: in my httpd.conf, in the specific vh, I've
<VirtualHost 192.168.0.11:80>
ServerName domain1
Port 80
DocumentRoot /var/www/htdocs
ErrorLog logs/default-error_log
CustomLog logs/default-access_log combined
<Directory "/var/www/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
</VirtualHost>
In this case, the vqadmin responds only for this vh, but if I try to connect
from domain2 http://domain2/cgi-bin/vqadmin/vqadmin.cgi
I receive a vqadmin error: Authentication failed, username unknown ...
And not an apache error (like page not found) ...
Why?
Could I have an apache error instead of this vqadmin message?
Thanks for patience and support
Regards
Andrea