[NTLUG:Discuss] No login challenge

Jack Snodgrass jack at jacksnodgrass.com
Tue Dec 30 06:04:55 CST 2003


On Tue, 2003-12-30 at 04:34, Ted wrote:
> Hello to the group.
> 
> I'm running Apache 2.0.40 on Red Hat 2.4.18-14.  I've established a 
> perl-based web site that runs fine.  When I turn on security by adding 
> Authentication per Apache 2.0 documentation, I cannot get Apache to issue a 
> login challenge window.  I've tried the placing commands in both the 
> <directory format in httpd.conf and using .htaccess.  Help would be 
> appreciated.
> 
> Thanks,
> 
> Ted

what did you put in your httpd.conf file? You need to have 
someting like: 
#### this may be 'too open' but it will give you .htaccess permissions.
<directory directory>
    Options All
    AllowOverride All
</directory>


Try this test. Put random garbage in your .htaccess file and 
try and access a web page in that directory. If you get an 
error ( maybe in the error log... maybe a web page error ) 
then you know that your're reading the .htaccess file. If the
garbage isn't detected, then your not reading that file. 

jack 




More information about the Discuss mailing list