Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess on admin area


Guest

Recommended Posts

In trying to secure my admin area, something has gone a bit wrong. It's secured, however no matter what password I put in, I can't get to it. I've been working on this for over an hour, searching the forums, all to no avail.

 

httpd.conf:

	<Directory "C:/Program Files/Apache Group/Apache2/htdocs/domain.com/admin/">

	 AllowOverride FileInfo AuthConfig Limit

	 Options MultiViews Indexes SymLinksIfOwnerMatch

  <limit GET POST OPTIONS PROPFIND>

	 Order allow,deny

	 Allow from all

  </limit>

  <limitexcept GET POST OPTIONS PROPFIND>

	 Order deny,allow

	 Deny from all

   </limitexcept>

 </Directory>

 

.htaccess

AuthType basic

AuthName "Restricted"

AuthUserFile F:/SECURE/.htpasswd

AuthGroupFile F:/SECURE/.htgroup

<Limit GET>

Require group admin

</Limit>

 

.htpasswd

user: password

 

.htgroup

admin: user

 

What's the problem? :huh:

Link to comment
Share on other sites

  • 1 month later...

Our machine is an older box, dual P3 1GHz, 1 GB RAM, RAID Drives, Windows 2000 Server; nothing great by today's standards. Running Apache2, MailEnable, PHP4, MySQL5.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...