Apache Modules

49 views
Skip to first unread message

Robert Gilland

unread,
Aug 23, 2018, 8:07:11 PM8/23/18
to WST-LIST
I have 2 questions about Apache Modules

1. Is it possible to write an apache module in Delphi 7 using web services toolkit?
2. Can web services toolkit generate multiple web services on same apache server, ie use more than one apache module ;
eg:

  <Location /wst>
    SetHandler wst-handler
  </Location>

  <Location /wst2>
    SetHandler wst2-handler
  </Location>

Kind Regards,


Robert Gilland.


Robert Gilland

unread,
Jul 16, 2019, 8:08:59 PM7/16/19
to WST-LIST
In response to Question 2.

yes it is possible to have multiple apache modules by updating
  1. if not SameText(r^.handler, 'wst-handler') then  to:  if not SameText(r^.handler, 'new-handler') then  
  2. updating sWST_ROOT = 'wst';  to sWST_ROOT = 'new'; 
  3. Adding new handler in httpd.conf  <Location /new>  SetHandler new-handler</Location>
Reply all
Reply to author
Forward
0 new messages