Commit graph

94 commits

Author SHA1 Message Date
Lars Sonchocky-Helldorf
15caa493db config.guess updated 2025-01-13 01:03:48 +01:00
Gregory John Casamento
90a9fc3a66 Remove uneeded dependencies 2025-01-12 18:37:47 -05:00
Lars Sonchocky-Helldorf
5d4cceec63 unpacking libPropList 2025-01-12 23:57:27 +01:00
Gregory Casamento
e04b9635c6 Add property list dependency 2025-01-12 17:36:59 -05:00
David Wetzel
3d5a52e699 add support for /wo/showapps
return HTTP status 504 if app is unreachable
2017-12-04 15:03:39 -05:00
David Wetzel
e1114e4395 * GSWAdaptors/Apache2/mod_gsw.c
compiles with Apache 2.4 now
    * GSWAdaptors/README.txt
      updated readme
2017-11-19 19:13:14 -05:00
Dave Wetzel
0fbad4521b * GSWAdaptors/Apache2/mod_gsw.c
use strncasecmp to be more tolerant with header case
  update x-webobjects-adaptor-version (old WO uses lowercase, I think) 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36725 72102866-910b-0410-8b05-ffd578937521
2013-06-13 02:37:54 +00:00
Dave Wetzel
44ec0f3a83 print 'never' and not the epoch time if there was never a response
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36724 72102866-910b-0410-8b05-ffd578937521
2013-06-12 02:07:41 +00:00
Sebastian Reitenbach
2744d5d2a9 remove remaining stuff in common directory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36714 72102866-910b-0410-8b05-ffd578937521
2013-06-09 08:44:29 +00:00
Sebastian Reitenbach
f4583f34b8 * GSWAdaptors/Apache/GNUmakefile.in
* GSWAdaptors/Apache/mod_gsweb.c
          do not reference the common directory anymore
        * move files needed by the Apache adaptor from
          common into the Apache directory


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36713 72102866-910b-0410-8b05-ffd578937521
2013-06-09 08:42:09 +00:00
Sebastian Reitenbach
fe3b9ce17c * GSWAdaptors/Apache/mod_gsweb.c
* GSWAdaptors/common/GNUmakefile
        * GSWAdaptors/common/GSWConfig.[h|c]
        * GSWAdaptors/common/GSWLock.h
        * GSWAdaptors/common/GSWStats.c
        * GSWAdaptors/common/GSWUtil.[h|c]
        * GSWAdaptors/common/config.h
          remove #ifdefs of Netscape, Apache and Apache2, only
          leave parts of Apache


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36712 72102866-910b-0410-8b05-ffd578937521
2013-06-09 08:14:21 +00:00
Sebastian Reitenbach
ae7a86c834 * GSWAdaptors/README.txt
note about Apache adaptor to work with OpenBSD Apache
          delete GSWAdaptors/netscape


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36706 72102866-910b-0410-8b05-ffd578937521
2013-06-06 15:06:46 +00:00
Sebastian Reitenbach
37f0c6a624 * GSWAdaptors/common/GSWAppConnectSocket.c
* GSWAdaptors/common/GSWUtil.c
          make the old Apache Adaptor work on OpenBSD
        * GSWAdaptors/Apache/mod_gsweb.c
        * GSWAdaptors/Apache/GNUmakefile-Apache[1|2]x
          remove all #ifdef Apache2, and remove old GNUmakefiles



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36705 72102866-910b-0410-8b05-ffd578937521
2013-06-06 15:01:40 +00:00
Sebastian Reitenbach
25cd649e64 * GSWAdaptors/Apache/INSTALL
add a missing semicolon, and remove deprecated documentation
        * GSWAdaptors/Apache/mod_gsweb.c
          make it compile with OpenBSD Apache 1.X
        * GSWAdaptors/common/GSWConfig.c
          fix output



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36691 72102866-910b-0410-8b05-ffd578937521
2013-05-31 16:54:17 +00:00
Dave Wetzel
041da71850 * GSWAdaptors/Apache2/mod_gsw.c
modified find_app_by_name() wen dealing with single instances
        include image
        include some css



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@33034 72102866-910b-0410-8b05-ffd578937521
2011-05-14 02:19:04 +00:00
Dave Wetzel
a4b0f2705b minor cleanups, avoid missing filename message to logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30770 72102866-910b-0410-8b05-ffd578937521
2010-06-17 10:40:57 +00:00
Dave Wetzel
68dc6d9e5d changed flags, clean now
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30146 72102866-910b-0410-8b05-ffd578937521
2010-04-14 09:07:49 +00:00
Dave Wetzel
17d66ecc41 fixed hopefully ;)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28354 72102866-910b-0410-8b05-ffd578937521
2009-06-15 14:21:09 +00:00
Dave Wetzel
6a11d18b06 added -g to include debug info as default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28353 72102866-910b-0410-8b05-ffd578937521
2009-06-15 14:07:31 +00:00
Dave Wetzel
c27ac43dda GSWAdaptors/Apache2/mod_gsw.c:
* removed unused read_sock()
    * reformated read_sock_line()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28347 72102866-910b-0410-8b05-ffd578937521
2009-06-12 13:48:10 +00:00
Dave Wetzel
3b0180a3da GSWAdaptors/Apache2/mod_gsw.c
* small cleanups
* copy all non-private headers to user

GSWeb.framework/GSWBindingNameAssociation.m
* remove unused code


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26443 72102866-910b-0410-8b05-ffd578937521
2008-04-09 21:04:56 +00:00
Dave Wetzel
1865a5a64b * only mark_refusing if x-webobjects-refusenewsessions header seen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26406 72102866-910b-0410-8b05-ffd578937521
2008-03-30 23:24:42 +00:00
Dave Wetzel
a24b60e6f4 GSWAdaptors/Apache2/mod_gsw.c
* make load-balancing work
* add refusing to app status

GSWeb.framework/...
* rewrote GSWComponentRequestHandler to make refusing work



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26404 72102866-910b-0410-8b05-ffd578937521
2008-03-30 22:10:20 +00:00
Dave Wetzel
fe4f1484fc various fixes. shared mem should work now :)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26335 72102866-910b-0410-8b05-ffd578937521
2008-03-17 22:52:18 +00:00
Dave Wetzel
aeab0d5b58 * fixed http status bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26272 72102866-910b-0410-8b05-ffd578937521
2008-03-11 14:46:33 +00:00
Dave Wetzel
831addf8b5 * small fix for newer APR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26262 72102866-910b-0410-8b05-ffd578937521
2008-03-10 19:53:32 +00:00
Dave Wetzel
d80d6efd36 * use shared memory to share application statistics across httpd processes
* first version of load balancing


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26261 72102866-910b-0410-8b05-ffd578937521
2008-03-10 17:15:30 +00:00
Dave Wetzel
bb368b6be9 * read POST data before contacting the app
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26165 72102866-910b-0410-8b05-ffd578937521
2008-03-01 19:47:30 +00:00
Dave Wetzel
a3a6cc33b4 pass more info to the application
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26094 72102866-910b-0410-8b05-ffd578937521
2008-02-18 21:42:13 +00:00
Dave Wetzel
f53759946a fixed SERVER_PORT
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26013 72102866-910b-0410-8b05-ffd578937521
2008-01-31 00:14:23 +00:00
Dave Wetzel
1157f2c2f2 send SERVER_PORT to App
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26012 72102866-910b-0410-8b05-ffd578937521
2008-01-30 23:25:35 +00:00
Dave Wetzel
2b0793eb67 * should be faster now. some cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25692 72102866-910b-0410-8b05-ffd578937521
2007-12-06 21:57:17 +00:00
Dave Wetzel
01e2e20125 * write x-webobjects-adaptor-version to the app
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25663 72102866-910b-0410-8b05-ffd578937521
2007-12-02 22:31:26 +00:00
Dave Wetzel
250ed2c524 * strip \r off on line end before \n
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25606 72102866-910b-0410-8b05-ffd578937521
2007-11-25 10:03:55 +00:00
Dave Wetzel
542867ab45 minor comments. will clean this stuff later :)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25532 72102866-910b-0410-8b05-ffd578937521
2007-10-23 21:14:15 +00:00
Dave Wetzel
1e6833238c 2007-06-22 David Wetzel <dave@turbocat.de>
* GSWAdaptors/Apache2/mod_gsw.c
    * GSWSWeb.framework/GSWComponentRequestHandler.m
    * GSWeb.framework/GSWDefaultAdaptorThread.m

    Added support for POST requests from browsers without content-length header.
    (firefox does this without proxy)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25287 72102866-910b-0410-8b05-ffd578937521
2007-06-22 16:12:16 +00:00
Dave Wetzel
65765a9412 made Application name clickable on status page
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25162 72102866-910b-0410-8b05-ffd578937521
2007-05-15 11:49:06 +00:00
Dave Wetzel
47ace186dd added first version of native apache 2 module
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24977 72102866-910b-0410-8b05-ffd578937521
2007-04-10 17:51:22 +00:00
Dave Wetzel
edfd34c489 Changed logging to include the file name and line number.
A logfile with "[debug] ../common/GSWUtil.c(165)" does not make much sense :-)
- GSWLog(GSW_WARNING,p_pLogServerData,
+ GSWLog(__FILE__, __LINE__, GSW_WARNING,p_pLogServerData,



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24219 72102866-910b-0410-8b05-ffd578937521
2006-12-19 22:41:28 +00:00
Dave Wetzel
126006dd58 small cosmetic changes in spacing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24214 72102866-910b-0410-8b05-ffd578937521
2006-12-19 12:16:57 +00:00
David Ayers
2f2a13fc47 * GSWAdaptors/Apache/mod_gsweb.c: Add defines to support Apache 2.2.
* GSWAdaptors/common/GSWLoadBalancing.c
	(GSWLoadBalancing_FindInstance): Remove unsused variable.
	* GSWAdaptors/common/GSWStats.c (GSWStats_formatStats): Ditto.
	* GSWAdaptors/common/GSWURLUtil.c (GSWParseURL): Ditto.
	* GSWAdaptors/common/GSWHTTPResponse.c: Include netdb.h.
	* GSWAdaptors/common/GSWApp.c: Include time.h.
	(GSWAppInfo_MakeDictKeyName): Add parentheses to avoid compiler
	warning.
	* GSWAdaptors/common/GSWAppRequest.c
	(GSWAppRequest_SendAppRequestToApp): Add missing CONST declaration.
	* GSWAdaptors/common/GSWAppConnectSocket.c: Include unistd.h
	* GSWAdaptors/common/GSWConfig.c: Ditto.
	* GSWAdaptors/common/GSWConfig.h (g_pAppDict, config_mtime):
	Remove unused declarations.
	(GSWConfig_LoadConfiguration): Add missing declaration.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24201 72102866-910b-0410-8b05-ffd578937521
2006-12-12 13:52:36 +00:00
David Ayers
4573d13b24 * GSWAdaptors/Apache/mod_gsweb.c (GSWeb_Handler): Avoid endless
loop when users abort transmission with temporary hack.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22186 72102866-910b-0410-8b05-ffd578937521
2005-12-19 11:05:35 +00:00
Dave Wetzel
f642b1e51a patch from david ayers to avoid endless loop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22185 72102866-910b-0410-8b05-ffd578937521
2005-12-19 10:11:35 +00:00
David Ayers
003294dcf7 * GSWAdaptors/common/GSWApp.h (GSWApp_New, GSWAppInfo_Init):
Correct prototype.
        * GSWAdaptors/common/GSWConfig.h (GSWConfig_GetConfig)
        (GSWConfig_CanDumpStatus, GSWConfig_AddTimeHeaders)
        (GSWConfig_IsDebug, GSWConfig_IsReaden)
        (GSWConfig_GetConfigFilePath, GSWConfig_AdaptorBuilt)
        (GSWConfig_ServerStringInfo, g_szGSWeb_AdaptorStringInfo)
        (GSWConfig_ServerURL, g_szGSWeb_AdaptorURL): Ditto.
        * GSWAdaptors/common/GSWString.h (GSWString_New): Ditto.
        * GSWAdaptors/common/GSWUtil.h (GSWTime_now)
        (GSWUtil_ClearHostCache): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21229 72102866-910b-0410-8b05-ffd578937521
2005-05-16 11:36:38 +00:00
David Ayers
81efc31c12 * GSWAdaptors/Apache/configure.ac: Only add to CPPFLAGS if
ac_x_includes is set and only add LDFLAGS if ac_x_libraries
        set.  Refer to variables in consistent form.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21228 72102866-910b-0410-8b05-ffd578937521
2005-05-16 11:21:27 +00:00
David Ayers
400fe30d41 * GSWAdaptors/Apache/mod_gsweb.c: Rename GSWeb_Module to
gsweb_module for apxs integration.
        * INSTALL: Refer to GSWAdaptors/Apache/INSTALL for Apache
        specific installation instructions.  Move Apache specific
        installation instructions to GSWAdaptors/Apache/INSTALL.
        * GSWAdaptors/Apache/INSTALL: Update to new ./configure
        usage and new install and httpdconfig make targets.
        * GSWAdaptors/Apache/GNUmakefile.in: New file to build
        the adaptor module with apxs and apr-config.
        * GSWAdaptors/Apache/configure[.ac]: New files
        * GSWAdaptors/Apache/config.guess: Ditto.
        * GSWAdaptors/Apache/config.sub: Ditto.
        * GSWAdaptors/Apache/install-sh: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21206 72102866-910b-0410-8b05-ffd578937521
2005-05-09 12:20:18 +00:00
David Ayers
807d776789 * GSWAdaptors/common/GSWStats.c (GSWStats_formatStats):
Use standard strtod instead of the GNU extension strtof
        which is stored in a double anyway.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21184 72102866-910b-0410-8b05-ffd578937521
2005-05-03 20:20:42 +00:00
Manuel Guesdon
bd0b6fe391 Fixes in GSWUtil.c and GSWAppRequest.c
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21022 72102866-910b-0410-8b05-ffd578937521
2005-03-31 18:31:22 +00:00
David Ayers
fd776a6c94 * GSWAdaptors/common/GSWHTTPResponse.c
(GSWHTTPResponse_GetResponse): Move variable declarations to
        top of block for older compilers.
        * GSWAdaptors/common/GSWUtil.h (GSWAssert): Ditto.  Remove
        bogus call to GSWLog().
        * GSWAdaptors/common/GSWStats.c (GSWStats_formatStats): Remove
        statement from variable declations for older compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21020 72102866-910b-0410-8b05-ffd578937521
2005-03-31 05:36:27 +00:00
Manuel Guesdon
95931983d3 optimizations and small fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20507 72102866-910b-0410-8b05-ffd578937521
2004-12-31 14:33:16 +00:00