Results 1 to 10 of 10

Thread: how do u get .htaccess Password to work?

  1. #1
    Join Date
    Jan 2012
    Posts
    5
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question how do u get .htaccess Password to work?

    1) Script Title: .htaccess Password

    2) Script URL (on DD): http://tools.dynamicdrive.com/password/

    3) Describe problem: i don't know how to save the files do u save them all seperatly as .html files? can some 1 please send me an example and i will change the .htpasswd (and the positioning and file)
    Last edited by the.grim.reaper; 01-07-2012 at 08:51 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    .htaccess and .htpasswd are the filenames (extension only; nothing before the dot). You save them in the directory that you want to be password-protected.

    If you can't save the files with those names, upload them to your server first, and then rename them.

  3. The Following User Says Thank You to traq For This Useful Post:

    the.grim.reaper (01-07-2012)

  4. #3
    Join Date
    Jan 2012
    Posts
    5
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    what is a dictionary i am new to this sort of thing

  5. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    I wrote directory (or "folder"), not dictionary.

  6. The Following User Says Thank You to traq For This Useful Post:

    the.grim.reaper (01-08-2012)

  7. #5
    Join Date
    Jan 2012
    Posts
    5
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    i have but it still not got a password on the file i would like and do i just save .htpasswd and .htaccess as .txt files

  8. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    No, they are not .txt files. .htaccess and .htpasswd are the complete file names. If you can't save them that way on your computer, you'll need to rename them once you upload them to your website.

  9. The Following User Says Thank You to traq For This Useful Post:

    the.grim.reaper (01-17-2012)

  10. #7
    Join Date
    Jan 2012
    Posts
    5
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    my website is not online so will it still work?

  11. #8
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    You mean, will it work on your local computer? Not unless you have a web server (like LAMPP) installed. If you're looking at your page using the file:// protocol, then no, it won't have any effect at all.

  12. The Following User Says Thank You to traq For This Useful Post:

    the.grim.reaper (01-17-2012)

  13. #9
    Join Date
    Jan 2012
    Posts
    5
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    thank you

  14. #10
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •