-
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..
-
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..
-
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.
-
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.
-
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?
-
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
Page generated in 1,714,170,331.46666 seconds with 10 queries