Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been working on setting up authetntication for an apache server I am running on my mandrdake 10.1 box, mainly to be used as a fileserver for my friends and I an dpossibly just a news site for people I know that are out of town. THe current problem is that I attempted to set up Digest authentication on the server so that people who were just trying out random IP addresses along the school's network wouldn't be able to just find our stuff and begin downloading. I currently have the directory Alias's I wish to have protected given this:
AuthType Digest
AuthName "Invite only access"
AuthDigestFile /etc/httpd/.htpasswd/users
require valid-user
I have checked and I believe the file for the user names and passwords to be correct, even though I was unsure as to what they wanted for a "realm"
The problem so far is that, even though it is properly blocking the directories, at no point does as popup box come up asking for a name or password. I'm sure it's probably some simply line of code that I don't know about, but after reading through an oreilly book for a bit, seraching this site and googling around, I still have been unable to find any kind of complete guide to how to go about doing this.
Any kind of help figuring this out would be appreciated.
Well it was my understanding that Basic was completely unencrypted, and from the looks of things it did not appear that configuring digest was any more complicated. I had planend on hopefully expanding this site one way or another, so I was going to simply go with an encrypted password system.
Besides, my school is absolutely full of nerds like me. I wouldn't put it past some of them to know some tricks.
Is it really a problem that it's digest instead of basic?
EDIT: And I just tried it as basic instead of digest, and still no go. Still no request for my name and password.
Basic is not unencrypted. You need to setup a password file that holds encrypted passwords outside of any web accessible directory. Assuming you're using Apache 2.0 you can find the docs here ...
I already have done all of this, and there is no pop up box. I have added that code, and all that happens when I try to go to that link is that it deny's me access and never gives me the option to enter a name and password.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.