You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by innocent <in...@tauraizimbabwe.com> on 2003/12/24 10:58:32 UTC

[users@httpd] .htaccess

I need to know how to create and set up an .htaccess file in my document 
directory

Thank you

Innocent Muchedzi
tele:: 795541/795562

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] .htaccess

Posted by innocent <in...@tauraizimbabwe.com>.
thanks I didn't know what I was asking for.

Thank you

Innocent Muchedzi
tele:: 795541/795562

---------- Original Message -----------
From: Dan Trainor <da...@cavecreek.net>
To: users@httpd.apache.org
Sent: Wed, 24 Dec 2003 03:07:40 -0700
Subject: Re: [users@httpd] .htaccess

> Innocent -
> 
> I promise you, no one will send out their .htaccess files, but I 
> have found this document to be very useful:
> 
> http://httpd.apache.org/docs/howto/htaccess.html
> 
> It's apache's step-by-step guide to .htaccess.  I've used it many times.
> 
> -dant
> 
> innocent wrote:
> 
> >I need to know how to create and set up an .htaccess file in my document 
> >directory. Can anyone sent me any attachment of hi/her .htaccess file and 
tell 
> >me how you go around it
> >
> >
> >Thank you
> >
> >Innocent Muchedzi
> >tele:: 795541/795562
> >
> >---------------------------------------------------------------------
> >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
> >   "   from the digest: users-digest-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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
------- End of Original Message -------


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] .htaccess

Posted by Dan Trainor <da...@cavecreek.net>.
Innocent -

I promise you, no one will send out their .htaccess files, but I have 
found this document to be very useful:

http://httpd.apache.org/docs/howto/htaccess.html

It's apache's step-by-step guide to .htaccess.  I've used it many times.

-dant



innocent wrote:

>I need to know how to create and set up an .htaccess file in my document 
>directory. Can anyone sent me any attachment of hi/her .htaccess file and tell 
>me how you go around it
>
>
>Thank you
>
>Innocent Muchedzi
>tele:: 795541/795562
>
>---------------------------------------------------------------------
>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
>   "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] .htaccess

Posted by innocent <in...@tauraizimbabwe.com>.
Thanks very much

I gor the Idea now but what I don't get is how to create it and how to config 
apache. What file name should I give it. or if you can send me a dammy file 
that I can simply alter.

Thank you

Innocent Muchedzi
tele:: 795541/795562

---------- Original Message -----------
From: pijush koley <ma...@yahoo.com>
To: users@httpd.apache.org
Sent: Wed, 24 Dec 2003 04:56:57 -0800 (PST)
Subject: Re: [users@httpd] .htaccess

> Hi Muchedzi!!
> 
>  The .htaccess entry is very simple. Please see following lines for 
> .htaccess file
> 
> ########################################################
> 
> AuthName "<realm name>"
> AuthType Basic
> AuthUserFile <user file location>
> 
> require valid-user
> 
> #################################################
> 
> But configuration of apache with this .htaccess file is important. 
> And you must place the .htaccess file in the directory which you 
> want to protect.
> 
> Rgds
> 
> -Pijush 
> 
> innocent <in...@tauraizimbabwe.com> wrote: I need to know how to 
> create and set up an .htaccess file in my document directory. Can 
> anyone sent me any attachment of hi/her .htaccess file and tell me 
> how you go around it
> 
> Thank you
> 
> Innocent Muchedzi
> tele:: 795541/795562
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
------- End of Original Message -------


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] .htaccess

Posted by pijush koley <ma...@yahoo.com>.
Hi Muchedzi!!

 The .htaccess entry is very simple. Please see following lines for .htaccess file

########################################################

AuthName "<realm name>"
AuthType Basic
AuthUserFile <user file location>

require valid-user

#################################################

But configuration of apache with this .htaccess file is important. And you must place the .htaccess file in the directory which you want to protect.

Rgds

-Pijush 




innocent <in...@tauraizimbabwe.com> wrote: I need to know how to create and set up an .htaccess file in my document 
directory. Can anyone sent me any attachment of hi/her .htaccess file and tell 
me how you go around it


Thank you

Innocent Muchedzi
tele:: 795541/795562

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

[users@httpd] .htaccess

Posted by innocent <in...@tauraizimbabwe.com>.
I need to know how to create and set up an .htaccess file in my document 
directory. Can anyone sent me any attachment of hi/her .htaccess file and tell 
me how you go around it


Thank you

Innocent Muchedzi
tele:: 795541/795562

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org