httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artiom Morozov <art...@phreaker.net>
Subject Re: htaccess
Date Wed, 20 Mar 2002 16:19:38 GMT
leave default to None, set AllowOverride AuthInfo for dir you want to 
protect, say "/var/www/foobar", put .htaccess to /var/www/foobar and 
there require authentication with "Require" directive. Be sure to read 
mod_auth manual. There're also excelent documents about other 
directives ;-) on http://httpd.apache.org/

îÁ 2002.03.20 17:55 alain ÎÁÐÉÓÁÌ:
> By default there is :
> 
> <Directory />
> AllowOverride None
> </Directory>
> 
> so nothing run.
> 
> I want :
> 
> no htaccess file = Allow to acces folder
> one htaccess file = Don't access
> 
> thks thks thks thks !!!! i need your help i don't understand !
> 
> Alain
> 
> 
> 
> Le Mercredi 20 Mars 2002 16:37, vous avez écrit :
> > ..htaccess is "active" by default. what you do with "AllowOverride"
> is
> > allowing .htaccess overriding certain configuration params
> > (authentication in your case). That configaration spreads down to
> > subdirectories unless explicitly overwritten there.
> >
> >   If directory appears to be protected, it means that it was made so
> > either from httpd.conf or some .htaccess in parent directories.
> >
> > îÁ 2002.03.20 17:18 alain siani ÎÁÐÉÓÁÌ:
> > > Good day,
> > >
> > > I want to activate ".htaccess"
> > > so i do :
> > >
> > > httpd.conf :
> > >
> > > <Directory />
> > > AllowOverride AuthConfig
> > > </Directory>
> > >
> > > <Directory monServeurWeb>
> > > AllowOverride AuthConfig
> > > </Directory>
> > >
> > > But now the document root is protected too but there is no
> .htaccess !
> > > How can i do to unprotect only folder witch have no .htaccess
> > >
> > >
> > > thanks a lot,
> >
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message