Jul 7, 2008

How To Modify .htaccess To Protect A Directory?

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

free web hosting

How To Modify .htaccess To Protect A Directory?

m107
hi
i have a free webhost included cpanel
but it's cpanel is not full and i can not protect my dir through it.
then i think i should use .htaccess .
now i dont how i must creat .htaccess files or hoy to using it sad.gif sad.gif
can any one help me pl

Reply

Lyon2
Here is everything you must know:

Htaccess
http://en.wikipedia.org/wiki/Htaccess

There you can see how to protect with password and a lot more, at least what it really matters.

---------

Here is a very complete tutorial, with 3 parts, of htaccess
http://www.freewebmasterhelp.com/tutorials/htaccess/1

Reply

m107
QUOTE(Lyon2 @ Aug 14 2006, 06:49 PM) *

Here is everything you must know:

Htaccess
http://en.wikipedia.org/wiki/Htaccess

There you can see how to protect with password and a lot more, at least what it really matters.


thank you
but how can i use that code?
i can not creat a .htaccess file on my pc to upload it sad.gif
what should i do?

Reply

Lyon2
Try this htaccess file generator and htaccess password generator:
http://www.yellowpipe.com/yis/tools/htacce...rator/index.php

or this simple yet good:
http://shop.alterlinks.com/htpasswd/htpasswd.php

or this one (very good):
http://cooletips.de/htaccess/

or

Open notepad, insert the code you want, after reading those tutorials, then save it has htaccess.txt .

Then go to the folder where you saved the htaccess.txt file and rename it to .htaccess

That is it, exactly like that: .htaccess (with the point behind, and no extension.)

Then upload it to the directory you want to protect with password or whatever you want to do.

You must read that complete tutorial, or the first link.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. how to modify htaccess file - 18.56 hr back.
  2. modifying htaccess - 36.28 hr back.
  3. htaccess modify - 46.75 hr back.
  4. modify htaccess php gatorhost - 134.78 hr back.
  5. htaccess protect directory - 159.09 hr back.
  6. modify .htaccess - 174.18 hr back.
  7. modify .htaccess with php - 174.28 hr back.
Similar Topics

Keywords : modify, htaccess, protect, directory

  1. Up One Directory In Url
    How do I...? (5)


      Looking for modify, htaccess, protect, directory

Searching Video's for modify, htaccess, protect, directory
advertisement



How To Modify .htaccess To Protect A Directory?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE