Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

htaccess - help!


corbypete

Recommended Posts

Can anyone help me with my htaccess files, because I need to secure my admin area.

 

my htaccess file looks like this:

AuthUserFile corbypete.freeserverhost.com/catalog/admin/.htpasswd

AuthName "Restricted area - No access available"

AuthType Basic

 

require valid-user

 

** Important Note: Please replace the $HOME_DIR variable by the path of your public_html directory **

 

 

And my .htpasswd fil looks like this:

admin:0.gpJcVSk0pto

 

 

security on it is 755

 

 

Can anyone spot a mistake? I try to access this are and get the following error:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Apache/1.3.33 Server at corbypete.freeserverhost.com Port 80

 

 

Its just a test shop, so dont anyone fret Ive just published my site to everyone!

 

Any help appreciated

Link to comment
Share on other sites

there are many contributions available on this, search for htaccess in contributions

 

or ask your host for info on htaccess, as this is a server side issue and not an oscommerce issue

Link to comment
Share on other sites

there are many contributions available on this, search for htaccess in contributions

 

or ask your host for info on htaccess, as this is a server side issue and not an oscommerce issue

 

 

I did, I asked the host they told me to feck orf...

 

sorted now, used their directory access control instead of the htaccess files, much easier to control. Admin secure!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...