You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Keith Wannamaker <kr...@raleigh.ibm.com> on 2000/02/09 17:52:33 UTC

[PATCH-NT] Spaces in service name bug; admin module utils

NT does not handle spaces in service names well.
Attached are two patches to correct how Apache
deals with this.

  The first patch adds the util function
  ap_remove_spaces and exports it on all platforms.

  The second patch changes some service and registry
  functions to make use of this new function.


NT developers of Apache admin modules could use 
some functionality from registry.c.

  The third patch exports four ap_x functions from
  registry.c


Keith Wannamaker
wannamak@us.ibm.com

RE: [PATCH-NT] Spaces in service name bug; admin module utils

Posted by Keith Wannamaker <kr...@raleigh.ibm.com>.
You have spaces in your display name, not your service name.
Spaces in the display name are fine.

Keith

| I am not sure I understand this... WinNT ships with several
| services that have
| spaces in the name and they don't have any problems (that I am aware of in
| relation to spaces in service names).  We have a product based on
| the Apache
| core that runs as a service on WinNT and we have spaces in our
| service name
| without any problems.  Can you be more specific about what the problem was
| that you were seeing?
|
| mikeg


RE: [PATCH-NT] Spaces in service name bug; admin module utils

Posted by Keith Wannamaker <kr...@raleigh.ibm.com>.
| I am not sure I understand this... WinNT ships with several
| services that have
| spaces in the name and they don't have any problems (that I am aware of in
| relation to spaces in service names).  We have a product based on

More clarification:

Service names with spaces cannot be disabled in hardware profiles.
Try
    apache -i -n "two bit"
Open the service control panel, select "two bit", then click HW Profiles.
You will receive an error.  Repeat with "twobit" instead.

Keith Wannamaker
wannamak@us.ibm.com


Re: [PATCH-NT] Spaces in service name bug; admin module utils

Posted by Mike Gray <mi...@avantgo.com>.
I am not sure I understand this... WinNT ships with several services that have
spaces in the name and they don't have any problems (that I am aware of in
relation to spaces in service names).  We have a product based on the Apache
core that runs as a service on WinNT and we have spaces in our service name
without any problems.  Can you be more specific about what the problem was
that you were seeing?

mikeg

Keith Wannamaker wrote:

> NT does not handle spaces in service names well.
> Attached are two patches to correct how Apache
> deals with this.
>
>   The first patch adds the util function
>   ap_remove_spaces and exports it on all platforms.
>
>   The second patch changes some service and registry
>   functions to make use of this new function.
>
> NT developers of Apache admin modules could use
> some functionality from registry.c.
>
>   The third patch exports four ap_x functions from
>   registry.c
>
> Keith Wannamaker
> wannamak@us.ibm.com