See Connection-Upgrade, but it won't solve your problem. The upgrade request is just that, one request; you still won't be able to add your headers. If you are a proxy, have the app continue to create an http: request, and do the https: request to the apache back end from your proxy. Michael Stapelberg wrote: > Hello everyone, > > I'd like to pass some information using my own HTTP-client to apache. I used > to just append them to the HTTP-headers using X-Foo: bar and getting them in > PHP via $_SERVER['X_FOO']. > > Now I decided that SSL is necessary for my purpose and now there is a little > problem: Man-in-the-middle (what my old method actually was) is no longer > possible. > > The simplest solution for me on client-side that I can think of would be > firstly sending my additional parameters and then starting the SSL-session. > This is possible in the FTP protocol also, so technically it should not be a > problem. > > The question is: What's the simplest method of telling apache that it should > call my own module when the connection arrives and handle the rest of the > connection by itself after my module has finished getting the additional > information? > > Best Regards and thanks in advance, > Michael Stapelberg > maxspot GmbH > > --------------------------------------------------------------------- > 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