SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    (****** or Deleted)
    Join Date
    May 2002
    Location
    Melbourne, Australia
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Protecting a directory using apache 2 on WinXP...

    Hey guys, have done a heap of reading and just cannot get my head around all of this htaccess stuff...

    I have a development machine setup, and have just installed Apoache a "C:\Program Files\Apache Group\Apache2"

    The defualt web directory is "C:\Program Files\Apache Group\Apache2\htdocs" and is the only one I use, but I have an admin section setup under it that I want to make password protected, so I figured a htaccess file was the key... Now a number of things...

    1. I cannot name it .htaccess due to windows naming rules, and as I do not have a ftp server setup, not sure how else I can change this?

    2. I cannot for the life of me work out paths... Where do I store the .htpass file so people cannot access it over the web?

    Sorry guy, I am completely new at this... Can anyone help me out please?

    Ta,

    Jordan
    Jordan Windebank

  2. #2
    (****** or Deleted)
    Join Date
    May 2002
    Location
    Melbourne, Australia
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ^^ 12 hour bump ^^

    Anyone?
    Jordan Windebank

  3. #3
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Protecting a directory using apache 2 on WinXP...

    Originally posted by Wizardx8
    1. I cannot name it .htaccess due to windows naming rules, and as I do not have a ftp server setup, not sure how else I can change this?
    Yes you can, save it as ".htaccess" with the quotes

    Originally posted by Wizardx8
    2. I cannot for the life of me work out paths... Where do I store the .htpass file so people cannot access it over the web?
    Wherever you want, just put the right path to it, e.g. c:/apache/passwords/.htpass

    Please don't bump threads

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


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
  •