Apache 2.0.59 prompting for Username/Password multiple times
am 30.10.2007 14:28:46 von greshamI am running Apache 2.2.4.
I am running multiple websites using name based.
in one situation, i am running dspam.
if in a browser, i go to http://dspam.tec.com/admin.cgi it will
ask for the username/password and will work just fine.
if i go to http://dspam/admin.cgi it will prompt for the password
multiple times. Eventually the web page content comes through. I'm
trying to figure out how to fix this.
we have two domains that we run dns for
tec.com
tec.local
if i go to http://dspam the dns from the windows based system
would resolve to dspam.tec.local (doesn't put dspam.tec.local
in the address bar)
I have tried putting ServerAlias lines, but to no avail.
ServerName dspam.tec.com
ServerAlias dspam.tec.local
DocumentRoot /var/www/dspam
Alias dspam/base.css /var/www/dspam/base.css
Alias dspam/logo.gif /var/www/dspam/logo.gif
SuexecUserGroup dspam dspam
Options Indexes FollowSymlinks +ExecCGI
AllowOverride ALL
DirectoryIndex dspam.cgi
Order Allow,deny
Allow from all
DirectoryIndex index.html
AuthType Basic
AuthName "DSPAM LOGIN"
AuthUserFile /var/www/dspam/.htpasswd
Require valid-user