Forum Moderators: phranque

Message Too Old, No Replies

.htaccess problems

         

jopelepoop

7:41 pm on Feb 2, 2005 (gmt 0)



Hi,

I have a problem, i can't solve:

I have this site protected with a .htaccess file
for example [mydomain.com...]

in the secured folder there's the .htaccess, which is working great.
in the secured folder, there's another folder called public, which must be accesible by everyone. I think i have to place another .htaccess in this folder, but don't know the content of this on.

So when people access [mydomain.com...] they don't need to logon.

can anyone please help me?

thnx already,

greetz Johan

jdMorgan

11:13 pm on Feb 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Johan,

Welcome to WebmasterWorld!

Do you mean that *anybody* who access /secure/public should be allowed, even if they've never logged-in?

The easiest approach in this case is to simply move /public so that it is not below /secure.

It makes a big difference in the code, depending on what you want to do.

See the Satisfy any directive in Apache core, and the Allow directive in mod_access.

Jim