Doesn't this change how Apache works depending on which platform you
are on?
I dislike putting SSL into the server on just one platform for Apache 1.3. IMO,
this should be done with a patch to the server when NetWare distributes it, not
with a modification to the core.
Of course, for 2.0, I thoroughly encourage putting this type of thing in. I would
use different logic for 2.0, just because it can be done without #ifdef's.
Ryan
On Monday 13 August 2001 10:09, [EMAIL PROTECTED] wrote:
> bnicholes 01/08/13 10:09:42
>
> Modified: src/include httpd.h
> Log:
> Redefined ap_http_method(r) to ap_os_http_method(r) for NetWare so that
> we can appropriately recontruct the URL in ap_contruct_url() based on a
> secure or unsecure socket.
>
> Revision Changes Path
> 1.344 +4 -0 apache-1.3/src/include/httpd.h
>
> Index: httpd.h
> ===================================================================
> RCS file: /home/cvs/apache-1.3/src/include/httpd.h,v
> retrieving revision 1.343
> retrieving revision 1.344
> diff -u -r1.343 -r1.344
> --- httpd.h 2001/05/15 16:30:57 1.343
> +++ httpd.h 2001/08/13 17:09:42 1.344
> @@ -141,7 +141,11 @@
> #define DEFAULT_HTTP_PORT 80
> #define DEFAULT_HTTPS_PORT 443
> #define ap_is_default_port(port,r) ((port) == ap_default_port(r))
> +#ifdef NETWARE
> +#define ap_http_method(r) ap_os_http_method(r)
> +#else
> #define ap_http_method(r) "http"
> +#endif
> #define ap_default_port(r) DEFAULT_HTTP_PORT
>
> /* --------- Default user name and group name running standalone
> ---------- */
--
______________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
Covalent Technologies [EMAIL PROTECTED]
--------------------------------------------------------------