A solution is to have the the mod_perl server listen on two different
ports (.i.e 8000 and 8001) and have the mod_rewrite proxy rule in the
regular server redirect to port 8000 and the mod_rewrite proxy rule in
the SSL virtual host redirect to port 8001. In the mod_perl server
then just check the PORT variable to tell if the connect is encrypted
or not.

Joseph R. Junkin - Thu, Jan 06, 2000 at 12:17:12PM -0800
> Actually, I am wrong, the HTTP_REFERER is the previous referring
> document, not the current URL so this does not solve my problem. Again,
> if anyone knows a way to determine if SSL is activated on the backend,
> please let me know.
> 
> > > Hi all,
> > > I have a two machine setup:
> > > (A) A frontend running mod_ssl, mod_rewrite and mod_proxy.
> > > (B) A backend mod_perl machine server not running SSL that is
> > > proxypassed to from the frontend
> > >
> > > Problem: I need to know within my mod_perl backend server whether or not
> > > SSL is active on the frontend, because if not I won't permit login.
> > >
> > > So how can I find out from the backend server (B) whether or not the
> > > frontend (A) is running in SSL?
> > >
> > > Thanks!
> > >
> > > Joe Junkin
> > > [EMAIL PROTECTED]

-- 
Geoff Crawshaw
CTO
TimeBills.com Inc.
[EMAIL PROTECTED]
http://www.timebills.com

Reply via email to