danomaniac
Programmer
It appears there is high demand for assistance on these topics. What's one more?
I have directories in my site that I'm using .htaccess to protect. Each directory is for a specific vendor so they can access their information and download spreadsheets and stuff. and within each directory is a .htaccess file that requires just that user. Works fine.
I have a link on my main page to a secure vendor login page.
On that page, the vendor enters their login id and pw and are redirected to their page in their directory using a simple redirect script. Once there, of course .htaccess takes over and prompts for authentication. When they authenticate, the browser goes blank. If I remove the .htaccess file, the redirect works fine, so I know that is ok. If I call the protected page directly (with .htaccess in place) everything works, so I know that's ok. I just can't mix the two.
Can I make the redirect script pass the user id and pw to .htaccess so the vendor can browse through their area without authenticating again?
My goal is: One link to secure login. Enter user id/pw - immediately go to your specific area.
Is there an easier/more elegant way to set this up? Bottom line is, I don't want a page that has links for all vendors because I don't think that looks professional.
Thanks for any help/advice.
I have directories in my site that I'm using .htaccess to protect. Each directory is for a specific vendor so they can access their information and download spreadsheets and stuff. and within each directory is a .htaccess file that requires just that user. Works fine.
I have a link on my main page to a secure vendor login page.
On that page, the vendor enters their login id and pw and are redirected to their page in their directory using a simple redirect script. Once there, of course .htaccess takes over and prompts for authentication. When they authenticate, the browser goes blank. If I remove the .htaccess file, the redirect works fine, so I know that is ok. If I call the protected page directly (with .htaccess in place) everything works, so I know that's ok. I just can't mix the two.
Can I make the redirect script pass the user id and pw to .htaccess so the vendor can browse through their area without authenticating again?
My goal is: One link to secure login. Enter user id/pw - immediately go to your specific area.
Is there an easier/more elegant way to set this up? Bottom line is, I don't want a page that has links for all vendors because I don't think that looks professional.
Thanks for any help/advice.