Re: windows & .htaccess
| From: | Augusto Cesar Castoldi | Date: | Wed, 26 Sep 2001 11:29:46 +0000 |
| Subject: | Re: windows & .htaccess | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9546@lists.php.net to get a copy of this message | ||
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 <phpci@yahoo.com> 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:
> php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
_______________________________________________________________________________________________
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/