in reply to loggin into an Apache htprotected folder via CGI script.
If I am understanding what you are trying to do, you may wish to look at the credentials() function in LWP::UserAgent. You can find some information regarding the function in Chapter 5 of Web Client Programming in Perl, which is available online thru O'Reilly and Associates's Open Books Project.
If I am wrong on what you are trying to do above, the only other way I see it is to have the script they go thru return the contents of the page it logs into (with the authentication information) with all links rewritten so as to pass thru the script, so that the script acts as a proxy for retrieving the directory.
Update: You may want to look for either an Apache module or mod_perl solution to managing access to that content. Just a thought.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: loggin into an Apache htprotected folder via CGI script.
by thunders (Priest) on Jun 27, 2002 at 18:59 UTC |