Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 28-01-2009
Member
 
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..
Reply With Quote
  #2  
Old 28-01-2009
Member
 
Join Date: May 2008
Posts: 2,293
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..
Reply With Quote
  #3  
Old 28-01-2009
Member
 
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.
Reply With Quote
  #4  
Old 28-01-2009
Member
 
Join Date: May 2008
Posts: 2,293
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.
Reply With Quote
  #5  
Old 28-01-2009
Member
 
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?
Reply With Quote
  #6  
Old 28-01-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Apache, setup pass"
Thread Thread Starter Forum Replies Last Post
Installing php-apache on Iomega StorCenter ix2-200 NAS gives error: apache.postinst returned 1 Shoya Networking & Security 4 05-05-2012 05:59 PM
Setup Apache Web Server and File Server on Windows Rudra.J Guides & Tutorials 1 11-05-2011 09:09 AM
Network Diagram - Configure to show Forward Pass/Backward Pass m3lyssa Microsoft Project 9 30-08-2010 04:57 PM
how to setup ftp client on apache server? Joyjeet Technology & Internet 3 22-06-2009 11:22 AM
What is difference between pass by value & pass by reference in java? Baran Software Development 4 25-02-2009 07:15 PM


All times are GMT +5.5. The time now is 11:24 PM.