GSWeb application deployment

From GNUstepWiki
Revision as of 18:06, 19 January 2008 by Comrade (talk | contribs) (Ubuntu 7.10 quick start configuration info)
Jump to navigation Jump to search

It's recommended to use the new Apache2Adaptor to serve your dynamic pages using Apache 2.

If using the new Apache2Adaptor, disregard instructions for the older adaptors that use libplist.

Different platforms use different configuration styles for Apache 2. Ensure you identify how it works on your platform.

Ubuntu 7.10

To use a new Apache module, configuration files must be updated in the /etc/apache2/mods-enabled directory. The relevant files may already be installed in /etc/apache2/mods-available directory, and only require symlinking.

/etc/apache2/mods-enabled/gsw.load is used to force the module to be loaded by Apache 2:

LoadModule gsw_module /usr/lib/apache2/modules/mod_gsw.so

/etc/apache2/mods-enabled/gsw.conf is used to configure the adaptor with information about the web applications for which it will provide access:

<IfModule gsw_module>
   ShowApps on
   App Name=SimpleDemo Instance=1 Host=127.0.0.1:9001
</IfModule>