On 4 May 2001, at 13:23, Ben Kennish wrote:

> Does it ask you for a username and password?  If not, theres something
> wrong with the authorisation process - did you add all the 
> 
> AuthMYSQL On
> AuthMySQL_Password ... 
> 
> etc. directives to your httpd.conf file?
> 
> 

Solved the problem... details follow:

There were 2 mistakes in the httpd.conf:

The first, and most serious one: 

In
<IfModule mod_auth_mysql.c>
  # MySQL server to connect to
  Auth_MySQL_Info       localhost       username  password
  # default database
  Auth_MySQL_General_DB http_auth
</IfModule>

I had neglected to change the username and password here to a 
valid user/pass for the mysql server (duh)

The reason the server didn't ask for a user/pass when going to the 
index.html file was in the <location> in the <virtualhost> which was 
pointing to the wrong location: the default was /vsdadm, but I had 
put everything in /vsd/vsdadm (relative to the server document root).

Thanks for the help everyone. (now... what was the problem again 
with rebooting servers with the scripts ? :-))

Kris

(btw, in case anyone cares, all this was done with the admin 
scripts on the host server, so not on a vs) (had too much problems 
trying to get mysql and all apache mods on a vs)

Reply via email to