.htaccess not workin

I’m running an test config of Apache2 with PHP4.:rolleyes:
Until I’m able to write an login with php I use an JavaScript for the members login.:amstupid:

The problem is, that if someone with some experience of analysing the scourcecode will find the script with users and passwords easily

To avoid this I want to set up an .htaccess file to restrict the access to the script:agree:

I tried it but somehow Im not able to get it running and my head hurts already.:spin::cry:

creating the .htpasswd is easy but I don’t get the f###ing .htaccess workin’

If someone can help here is the httpd.conf and the local rootfolder of the directiory i want to protect

Help is greatly appreciated.:hail:

httpd.conf

AllowOverride controls what directives may be placed in .htaccess files.

It can be “All”, “None”, or any combination of the keywords:

Options FileInfo AuthConfig Limit

AllowOverride none

Controls who can get stuff from this server.

Order allow,deny
Allow from all

</Directory>

the root on my HD is "c:\wwwroot\jscripts"

Did I missed something

This may help…

http://www.hostingmanual.com/other/htfun.shtml

To get .htaccess working you need to set AllowOveride to “All”.

However, unfortunately, your idea won’t work. The user will need the http password to use the javascript login. Why not just use http passwords for all your users?

Think I found the problem after having a rest last two days.

I forgot to restart apache after editing the httpd.conf:rolleyes:

Stupid me