You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by jayakrishna Thammieneni <jk...@yahoo.com> on 2002/01/23 19:15:16 UTC

Help...

Hello All,
I am a programmer who is currently working in UK on a
Apache Project.I have a question.one of my project
member has developed some html pages relating to
Project authontication just like those of Apache Basic
Authontication.Now my question is,

can i change the password(which is in the header of
the HTTP protocol)which is cached by browse throught
out the session, when i send a request to Apache
Server using Perl script if so how can we do that .I
will be help full to the person who can give the
solution.Thanks in advance.

JK


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

RE: Help...

Posted by stevea <st...@nwtechops.com>.
In most cases Apache basic auth passwords are set by the htpasswd command
that should be available in the Apache source. In order to use this from a
perl script you might have to set the SUID bit of htpasswd and make it owned
by the Apache user. By writing a small script to take password information
and making the appropriate call to htpasswd you should achieve your goal. As
always, it's recommended to use SSL when doing something like this.

Hope that helps

Hello All,
I am a programmer who is currently working in UK on a
Apache Project.I have a question.one of my project
member has developed some html pages relating to
Project authontication just like those of Apache Basic
Authontication.Now my question is,

can i change the password(which is in the header of
the HTTP protocol)which is cached by browse throught
out the session, when i send a request to Apache
Server using Perl script if so how can we do that .I
will be help full to the person who can give the
solution.Thanks in advance.

JK


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/