Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question about security permissions on /admin/.htaccess ?


Acknowledeged74

Recommended Posts

Posted

Hi

 

I am getting the message:

 

The following files need to be writable by the web server to enable the htaccess/htpasswd security layer:

 

/home/palmers/public_html/admin/.htaccess

/home/palmers/public_html/admin/.htpasswd_oscommerce

 

I have tried .htaccess as 666 and 777 but still still comes up ?

 

I don't have a .htpasswd_oscommerce file at all ?

 

Any advice would be greatly appreciated, many thanks

 

Ash

Posted

Ashley,

 

 

Are you using a Windows Server ? If so, .htaccess files do not function on Windows server.

 

 

 

 

Chris

Posted

should be

/home/palmers/public_html/admin/.htaccess

/home/palmers/public_html/admin/.htpasswd

 

your hosting company needs to be contacted on how to password protect folder.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Not sure why you can't just change the permission as usual in the ftp,

 

I have

/home/palmers/public_html/admin/.htaccess

 

but no

 

/home/palmers/public_html/admin/.htpasswd

Posted

You can just create your own .htaccess and .htpasswd files.

 

This site should generate them for you http://www.oscommerce-solution.com/create_htpasswd.php

 

Save them as a text file then ftp them up and rename them appropriately. And if you want that error to go away on your .htaccess may have to look like this:

AuthType Basic
AuthName "Secure Site"
AuthUserFile /home/palmers/public_html/admin/.htpasswd_oscommerce
require valid-user

Archived

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

×
×
  • Create New...