.htaccess problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

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

.htaccess problem

Post by itsmani1 »

here 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
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Post by dibyendrah »

I guess this should be discussed in security section or any relevant forum.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
itsmani1, you've been here long enough to know this rule.
Locked