On Wednesday 06 August 2003 10:07, teddy wrote:
> I'm sending this email because I've spent countless hours trying to
> figure out why the .htaccess on my webserver doesn't do anything at
> all. I've read some tutorials and howtos on how to get password
> protection on different parts of my website. I'm emailing you to find
> out if there is a problem with my configuration or if this is a known
> bug. I have Apache 2.0.40 installed from Redhat 9.0 with all the
> default settings, If you have any ideas of what I could do next to
> resolve this problem I would greatly appreciate it.
>
> Thanks

You'll have better luck if you post your configuration to the list so 
people that are fluent in Apache are able to spot problems if they 
exist.  Here, for example, are my configuration files that work on an 
earlier version of Apache:

---- /etc/httpd/conf/httpd.conf -----

<Directory "/var/www/html">
        AllowOverride AuthConfig
        Order deny,allow
        Allow from all
</Directory>

 ---- end of httpd.conf ---

---- /etc/httpd/authorized_users -----
user1:password
user2:password

..... end of authorized_users ---- 

----- /var/www/html/protected_directory/.htaccess -------
AuthName "Presentation"
AuthType Basic
AuthUserFile authorized_users
require valid-user
 
---- end of .htaccess ---

Double check file/directory permissions to make sure they're readable.

Regards,  Mike Klinke



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to