running CGIs as authenticated user?

running CGIs as authenticated user?

am 04.12.2007 20:08:49 von JT

Hi all,

I'm fairly new to Apache config. I'd like to be able to run CGIs as
the authenticated user. I've found suexec, which would work if CGIs
are in user directories, but I'd like to maintain one central CGI
directory (for example, /cgi-bin/) Has anyone had success with a
similar configuration? Any authentication would be ok as long as we
can get the CGI's to run on a per-user basis.

Thanks for any advice!

Re: running CGIs as authenticated user?

am 05.12.2007 19:22:28 von Praki

On Dec 5, 12:08 am, jt wrote:
> Hi all,
>
> I'm fairly new to Apache config. I'd like to be able to run CGIs as
> the authenticated user. I've found suexec, which would work if CGIs
> are in user directories, but I'd like to maintain one central CGI
> directory (for example, /cgi-bin/) Has anyone had success with a
> similar configuration? Any authentication would be ok as long as we
> can get the CGI's to run on a per-user basis.
>
> Thanks for any advice!

Hi,
u can authenticate the CGI script using the Apache in built
option .htaccess file to check for the authentication.try this link
this may be usefull to u..

http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html#EXAM PLE
http://httpd.apache.org/docs/1.3/howto/auth.html

i m not sure about your requirement..this wat my understanding i m
also new to this type of programing..
if it not meets your requirement sorry for misguiding u....

thanks,
Prakash