.htaccess problem

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

.htaccess problem

Post by itsmani1 »

ere is my .htaccess code

Code: Select all

AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/test/public_html/.htpasswd
AuthGroupFile /dev/null

there are 2 domains on the server, i set password for one and it works fine. but it also create problem for 2nd one.

2nd one is located at : /home/test1/public_html/

.htaccess file is located at /home/test/public_html/

any help
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What's the problem?
Post Reply