Link to home
Start Free TrialLog in
Avatar of Marketing_Insists
Marketing_Insists

asked on

authentication breaks some .cgi scripts


I've reviewed applying both Digest and Basic authenticatin for my home page and both work fine, however, some Perl based CGI's don't work with authentication of any type, once activated. but are fine once I uncomment the offending lines in the .conf

All other static pages work fine with authentication.

Do you know why this may be?

in the httpd.conf file, I tried.

# for digest
 <Directory "C:/Apache2/htdocs">
 AuthType Digest
 AuthName "MyRealm"
 AuthDigestFile "C:/Apache2/passwd/cypher.txt"
 require user admin
</Directory>

 - and -

# for basic
 <Directory "C:/Apache2/htdocs">
 AuthType Basic
 AuthName "MySite"
 AuthDigestFile "C:/Apache2/passwd/basic.txt"
 require user admin
 </Directory>





Avatar of Marketing_Insists
Marketing_Insists

ASKER

Oh, and it's windoz
ASKER CERTIFIED SOLUTION
Avatar of perlpengo
perlpengo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial