Sometime Today, Naba Kumar assembled some asciibets to say:

> I have the htdocs/ dir protected by .htaccess file. There are some
> subdirs in this directory which I don't want to protect. For example, I
> have htdocs/images/ directory which I want to give access to everyone.
>
> I tried all sorts of .htaccess configurations (within my limit) in these
> (all access) directories, but I am still not able to give open access to
> these directories. Could someone suggest me a way out of it?

You have a common problem that is described somewhere in the apache
manual.  Your .htaccess file protects your .htaccess file.  In
other words, users cannot access the subdirectories not because the
permissions in .htaccess are wrong, but because they can't access the
.htaccess files in the first place.

You need to put all your rules in one .htaccess file only - the one in
htdocs.  I don't know how you'd do this, but maybe try something with
the <Files> section of the .htaccess file.

AFAIK, you can't reduce restrictions on subdirectories through the .htaccess
files.  Your best bet is to make changes in httpd.conf - if you have
access to it.

-- 
Support bacteria -- it's the only culture some people have!


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to