[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

authentication breaks some .cgi scripts

Posted on 2005-05-13
2
Medium Priority
?
273 Views
Last Modified: 2010-03-04

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>





0
Comment
Question by:Marketing_Insists
2 Comments
 

Author Comment

by:Marketing_Insists
ID: 13999424
Oh, and it's windoz
0
 
LVL 2

Accepted Solution

by:
perlpengo earned 1200 total points
ID: 14066598
your password files don't look good with that .txt
did you use 'htdigest' when you were making these password files of yours?
i think you should take a look here first http://httpd.apache.org/docs/howto/auth.html#digest
and also show us a cgi script of yours that doesn't work.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month20 days, 8 hours left to enroll

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question