Thread: Passworded Area
View Single Post
06-14-2009, 05:51 PM
#1
Seb is offline Seb
Seb's Avatar
Status: Watermelon Man
Join date: Nov 2006
Location: London
Expertise:
Software:
 
Posts: 3,312
iTrader: 36 / 100%
 

Seb is on a distinguished road

  Old  Passworded Area

Hey,

Don't know why this is happening, but if anyone could help resolve it, I would appreciate it!

Basically, on my server (running latest version of Apache), it automatically creates a "/_private/" folder for each domain you have. In there, I have put a folder with an admin panel inside.

By default in the /_private/ folder, there is a .htaccess file with the following code:

Code:
# -FrontPage-
Options None

<Limit GET POST>
order deny,allow
deny from all
allow from all
require group authors administrators
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthType Basic
AuthName Name
AuthUserFile /home/dir/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/dir/public_html/_vti_pvt/service.grp
In /_vti_pvt/service.pwd is the following:

Code:
# -FrontPage-
username:password
When I go to the directory of the admin panel in the private folder, I am presented with a login form. In the username I put "username" and the password field I put "password" taken from the service.pwd file that the .htaccess file of the private area refers to.

However, the login form just resets and doesn't let me in.

I have no idea why this happens, it's all of Apaches default code. I must be doing something wrong..

Please help if possible.

Thanks,
Seb

Reply With Quote