LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2003, 06:26 PM   #1
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
Question cgi authentication on apache


hi,

i have asked before about creating apache modules that authenticate via an nt domain then do a lookup within a mysql DB for extra data

well, i tried looking at an apache module works and i am stuck on how the module pulls out the config directives for example i looked at an ldap authentication module

something like ldapserver was one of the config options
then in the code i got lost, it just seemed to disappear into other things then something else poped up then i lost my way

because i am new to creating modules for apache and C in general, (although i can pick things up quick ) i have put that idea down for a while ( i will pick it up again a, when i have the time to spare and b, when i know more about C )

any way, i was wondering, can i cheat and pass authentication off to a shell script but still use a .htaccess file to protect the whole directory?

so when i drop my .htaccess file into my directory then access it via the web, apache then says; ah right pass the username and passwd i have been geven to a shell script, then ( if it can be done ) the shell script does its work and tells apache if the user is valid or not

can it be done?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache::MP3 Authentication or CGI Error WopMaster8 Linux - Software 0 03-23-2005 01:08 PM
about Apache and CGI kpachopoulos General 1 11-17-2004 05:23 PM
Need Help With My Perl/cgi Authentication Script dutch357 Programming 0 04-11-2003 10:54 AM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 02:03 PM
apache-cgi j-ray Linux - Software 1 12-12-2002 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration