jacobb20 has asked for the wisdom of the Perl Monks concerning the following question:
Does anybody know if you can use perl to pass the username and password to apache to satisfy htaccess without the browser prompting for it?
The reason I need to do this is because the site I'm working on was set up with no htaccess file for the root. Then there are large numbers of directories off the root (domain.com/directory1/) that uses htaccess to protect them. The clients need to remember the domain.com/direcory1/ address to access their information and supply the user/password for htacess. The company would like to create a universal login at the root, where the client would supply a username and password in a html form. They would be authenticated (not using htaccess) and redirected to their correct directory. However, once redirected they would be prompted again for their username and password by htacess. Is there a way around this besides deleting/modifying the htacess files?
Thanks, Jake
The reason I need to do this is because the site I'm working on was set up with no htaccess file for the root. Then there are large numbers of directories off the root (domain.com/directory1/) that uses htaccess to protect them. The clients need to remember the domain.com/direcory1/ address to access their information and supply the user/password for htacess. The company would like to create a universal login at the root, where the client would supply a username and password in a html form. They would be authenticated (not using htaccess) and redirected to their correct directory. However, once redirected they would be prompted again for their username and password by htacess. Is there a way around this besides deleting/modifying the htacess files?
Thanks, Jake
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Login and htaccess
by ikegami (Patriarch) on Apr 25, 2006 at 20:54 UTC | |
by jacobb20 (Novice) on Apr 25, 2006 at 21:17 UTC | |
by ikegami (Patriarch) on Apr 25, 2006 at 21:24 UTC | |
by monarch (Priest) on Apr 26, 2006 at 05:26 UTC | |
by ikegami (Patriarch) on Apr 26, 2006 at 07:01 UTC | |
by monarch (Priest) on Apr 26, 2006 at 23:48 UTC | |
by ikegami (Patriarch) on Apr 27, 2006 at 00:32 UTC | |
Re: Login and htaccess
by ioannis (Abbot) on Apr 26, 2006 at 03:04 UTC | |
by monarch (Priest) on Apr 26, 2006 at 05:33 UTC |
Back to
Seekers of Perl Wisdom