Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess password protection


Rosyweb

Recommended Posts

Ok, having a bit of a struggle with this.

 

I don't have access to any of the apache configuration files, so I'm having to use .htaccess and linking this to a password file.

 

I've created my password file containing the encrypted passwords.

 

I'm linking to this - even tried putting it in the same folder (to make sure that its not a link error). Although I will move it to another location when I get it working.

 

You try to go to the /admin/ area through the browser and yes - get prompted for a username and password. I put in the correct username and password each time and still get an error Authentication Required etc ..

 

I guess this is because it is not overwriting the server file settings. When I un-comment:

 

#<Directory "/usr/local/apache/htdocs">

# AllowOverride Options

#</Directory>

 

it says there is a script error. I don't have access to the server config files to change them and the hosts are un-willing to do so, so I do need to override this from the .htaccess. What am I doing wrong? Is it the Override location?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...