Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 succesfully installed Apache and got it runnig for several days. Now I tried to make one directory password protected.
I made a .htaccess-file
AuthUserFile /var/www/temp/.htpasswd
AuthGroupFile /dev/null
AuthName "Saved"
AuthType Basic
<Limit GET>
require user username
</Limit>
and then
/usr/local/apache/bin/htpasswd -c .htpasswd username
while being in the "temp" directory.
After doing those things the apache doesn´t respond while trying to access with a web browser. It just gives me the timeout message. Apache is running and restarted several times after the unlucky configuring, nothing helps. Hope you guys might know what´s wrong with it.
Actually when I type my password incorrectly it just asks again, but when I get it right, I get message like this:
Forbidden
You don't have permission to access /temp/ on this server.
--------------------------------------------------------------------------------
Apache/1.3.27 Server at xxxxxxxxxxxxxx.org Port 80
Is there something wrong with my file permissions, the directory is owned by the user trying to access it through web browser?
Thanks for everybody, I got it running. The problem was a missing index.html because I wanted to get a directory listning w/o any webpage. Didn't figure that out yet, but at least it's working in a sort of way I wanted.... If one of you guys know how to get the directory listning, I'd be most willing to hear how to do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.