Ah, thanks. This is a good idea. I didn't know about mod_auth_memcookie. Yes, it'll be great if you share your configuration so I can have a better understanding. On Mon, Dec 21, 2009 at 6:21 AM, Devraj Mukherjee <devraj@xxxxxxxxx> wrote: > On Mon, Dec 14, 2009 at 11:04 PM, Perl Whore <whoreperl@xxxxxxxxx> wrote: >> Here is the situation: >> >> I have a php login page at https://login.mydomain.com and an internal >> server listening only on localhost http://localhost:12345 >> >> I want mod_proxy to send to the internal server only if auth was >> successful from the php login page. The user/pass can be in the .php >> file itself like if $_POST['password'] = 'abc' because it's just for a >> single user and I don't require a database although I don't really >> mind using SQLite if mod_proxy requires that I do. >> > > This is easier done using Basic authentication with the choice of many > backends, like RDBMS or LDAP, but I am assuming that you want to use > form based authentication for whatever reason. > >> Is this possible (I guess nothing is impossible)? If so, which >> authentication module should I be looking into to achieve this? >> > > I answered a similar question before, where the user was trying to get > mod_auth_form going for Apache 2.2 > > We implemented something similar using mod_auth_memcookie > (http://authmemcookie.sourceforge.net/) and you can use your own for > to do the authentication. > > Let me know if you want me to share configurations etc. > > -- > "The secret impresses no-one, the trick you use it for is everything" > - Alfred Borden (The Prestiege) > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx