views:

22

answers:

1

Hi,

I have multiple applications running in my linux server.

The main domain is secure using .htpasswd file.

But I need the security to be removed in the subdomain.

How could I achieve this.

Regards

Nizam

+1  A: 

Put the following in a .htaccess file inside the subfolder:

Order deny,allow
Allow from All
Satisfy any

Order deny,allow causes Allow to override any Deny directives.
Allow from All grants access to all hosts.
Satisfy any causes the password authentication to be bypassed because a host-based rule (Allow from All) was passed.

Links to the Apache manual:

Lekensteyn
Thanks a lot for such a detailed explanation
Nizam