accessing .htaccess parameters

Discussion in 'Apache' started by jonnyboy88, Jul 8, 2010.

  1. #1
    Hi, I'm a complete newbie to this stuff, so excuse me if I'm not as clear as I should be.

    I currently have a webserver set up with a .htaccess file that uses an LDAP directory to check credentials. I wanted to be able to send an email to anyone who logs in to the email they used to log in with. Is there a way to retrieve the email address entered by the user, store it as a variable, and use a cgi script to send the email? I think the only part I'm stuck at is getting the user email parameter into a cgi script to use, once I'm that far I should be able to figure out the rest.
     
    jonnyboy88, Jul 8, 2010 IP