Re: Is there are any way to know if the request is regular (http) or SSL (https) in a module?

2007-12-18 Thread John Zhang
--- Graham Dumpleton [EMAIL PROTECTED] wrote: On 18/12/2007, Sander Temme [EMAIL PROTECTED] wrote: On Dec 17, 2007, at 6:36 PM, Eric Covener wrote: I would like to know the request type in my module (handler/filter), is there any way to know that (HTTP vs HTTPS)?

Is there are any way to know if the request is regular (http) or SSL (https) in a module?

2007-12-17 Thread John Zhang
I would like to know the request type in my module (handler/filter), is there any way to know that (HTTP vs HTTPS)? Thanks, John

Re: Is there are any way to know if the request is regular (http) or SSL (https) in a module?

2007-12-17 Thread Eric Covener
On Dec 17, 2007 9:23 PM, John Zhang [EMAIL PROTECTED] wrote: I would like to know the request type in my module (handler/filter), is there any way to know that (HTTP vs HTTPS)? apr_table_get(r-subprocess_env, HTTPS) might be what you want -- Eric Covener [EMAIL PROTECTED]

Re: Is there are any way to know if the request is regular (http) or SSL (https) in a module?

2007-12-17 Thread Sander Temme
On Dec 17, 2007, at 6:36 PM, Eric Covener wrote: I would like to know the request type in my module (handler/filter), is there any way to know that (HTTP vs HTTPS)? apr_table_get(r-subprocess_env, HTTPS) might be what you want That gets set in the Fixup hook, relatively late in the

Re: Is there are any way to know if the request is regular (http) or SSL (https) in a module?

2007-12-17 Thread Graham Dumpleton
On 18/12/2007, Sander Temme [EMAIL PROTECTED] wrote: On Dec 17, 2007, at 6:36 PM, Eric Covener wrote: I would like to know the request type in my module (handler/filter), is there any way to know that (HTTP vs HTTPS)? apr_table_get(r-subprocess_env, HTTPS) might be what you want