Put this "code" on httpd.conf:
----------------------------------------------
<directory "E:\Augusto\HomePages\htaccess_teste">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch
IncludesNoExec
<limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</limit>
<limitexcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</limitexcept>
</directory>
--------------------------------------
Create a file named .htaccess into the diretory:
-------------------------------------
AuthUserFile
E:\Augusto\HomePages\htaccess_teste\.htpasswd
AuthName "Access only for Developers."
authType Basic
<Limit GET>
require user dock
require user username
</Limit>
------------------------------------------
Create a file named .htpasswd
-----------------------------------
dock:teste
username:password
----------------------------
that's it. Very simple.
see you,
Augusto
--- php ci <[EMAIL PROTECTED]> escreveu: > hi,
>
> my web server is apache on windows.
> i want to ask the configuration of .htacess files.
> thx
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant
> messaging with Yahoo! Messenger. http://im.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil
e grátis!
http://br.geocities.yahoo.com/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]