Thread View: alt.os.linux
1 messages
1 total messages
Started by Alistair Ross
Fri, 18 Aug 2000 00:00
Apache 1.3 and .htaccess
Author: Alistair Ross
Date: Fri, 18 Aug 2000 00:00
Date: Fri, 18 Aug 2000 00:00
50 lines
1597 bytes
1597 bytes
Hi, I've been using apache as a very basic intranet server for a small sized LAN for around 6 months now, it's working fine, but the other day I wanted to make sure that only certain users on my intranet could access certain folders. I am using Red hat 6.0, Apache 1.3 (came with RH 6.0). I know that using the .htaccess file in a directory will ask for username and password validation before accessing a particular directory. I wish to protect /home/httpd/html/downloads I have the file .htaccess with the perms: rwxr-xr-x in that directory. The file .htaccess contains the following: deny from all AuthType Basic AuthUserFile /home/httpd/html/downloads/.htpasswd AuthName "Password Required for /downloads" require valid-user I used htpasswd -c .htpasswd username to create the password file .htpasswd in that directory. The module mod_auth is loaded and seems to be working. There are various other modules loaded also, please let me know if you need to know which ones. in my file access.conf in /etc/httpd/conf the part about AuthConfig reads: <Directory /> Options None AllowOverride AuthConfig </Directory> I have read the FAQs on Apache.org and on apachenews, according to them (unless I am becoming blind), I have done everything correctly. Why does the password requirement box refuse to appear? It makes no difference whether you are local, lan-based or remote to the system. ANY pointers would be of great appreciation. TIA. Al. -- "large lines of leeches in life are labotemised." __ \/ o\ Scorpion. /\__/ ali.ross@ntlworld.com or purplemotion_uk@hotmail.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads