Results 1 to 6 of 6

Thread: Apache, setup pass

  1. #1
    Join Date
    Apr 2008
    Posts
    25

    Apache, setup pass

    I sit and play with Apache, version: apache_2.2.9-win32-x86-openssl-0.9.8h-r2

    And would like to password-secure it. The server is working as it should.

    I have made .htaccess in my DocumentRoot (my DocumentRoot is "I: /") which looks like this:

    AuthType Basic
    AuthName "This is a private area, please log in."

    AuthUserFile "D:\ftppass\ftp_pass.txt"
    AuthGroupFile /dev/null

    <Limit GET MAIL PUT>
    require valid-user
    </Limit>

    My directory called:
    <directory "I:/">

    I have made ftp_pass.txt in the path listed above, which shows you have to guide the command and everything that is not something wrong there.

    Can it do that ".htaccess" and "ftp_pass.txt" are on different hard drives?

    I have set AllowOverride to All, however, I do not appreciate what this all means it was just in the wizard. Is there anyone who can identify what I am doing wrong? All inputs are welcome, will like remote access to my PC up and get..

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: Apache, setup pass

    If it is a Web server, you try and set up with http://www.apachefriends.org/en/xampp.html ... much easier, it puts everything up for you..

  3. #3
    Join Date
    Apr 2008
    Posts
    25

    Re: Apache, setup pass

    This is where the problem lies, I only have my PC as a data-host sort of server - not a web server. I host my website at one.com, what I want is to be able to reach my PC from all corners of the world, only with a browser. And then the password on.

    But thanks for the interesting link.

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: Apache, setup pass

    http://www.microsoft.com/windows/pro...r/default.mspx
    Here is an opportunity ... looks for something open source ...

    You could put an FTP server instead.

  5. #5
    Join Date
    Apr 2008
    Posts
    25

    Re: Apache, setup pass

    I would also like to have the potential to start a Web host in the future. So would love to have this to work! Some tips?

  6. #6
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Apache, setup pass

    AllowOverride All means it does everything it says in your .htaccess file.
    But have you set AllowOverride All in your <directory "I:/">? For that it is important.

    But the roof to look through this link, it describes .htaccess full: http://httpd.apache.org/docs/2.2/howto/htaccess.html

Similar Threads

  1. Replies: 4
    Last Post: 05-05-2012, 05:59 PM
  2. Setup Apache Web Server and File Server on Windows
    By Rudra.J in forum Guides & Tutorials
    Replies: 1
    Last Post: 11-05-2011, 09:09 AM
  3. Replies: 9
    Last Post: 30-08-2010, 04:57 PM
  4. how to setup ftp client on apache server?
    By Joyjeet in forum Technology & Internet
    Replies: 3
    Last Post: 22-06-2009, 11:22 AM
  5. Replies: 4
    Last Post: 25-02-2009, 07:15 PM

Tags for this Thread

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
  •  
Page generated in 1,750,412,167.28742 seconds with 16 queries