Difference between revisions of "GSWeb application deployment"
(Ubuntu 7.10 quick start configuration info) |
m (typewriter font) |
||
Line 6: | Line 6: | ||
=== Ubuntu 7.10 === | === 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. | + | To use a new Apache module, configuration files must be updated in the <tt>/etc/apache2/mods-enabled</tt> directory. The relevant files may already be installed in <tt>/etc/apache2/mods-available</tt> directory, and only require symlinking. |
− | /etc/apache2/mods-enabled/gsw.load is used to force the module to be loaded by Apache 2: | + | <tt>/etc/apache2/mods-enabled/gsw.load</tt> is used to force the module to be loaded by Apache 2: |
<pre> | <pre> | ||
LoadModule gsw_module /usr/lib/apache2/modules/mod_gsw.so | LoadModule gsw_module /usr/lib/apache2/modules/mod_gsw.so | ||
</pre> | </pre> | ||
− | /etc/apache2/mods-enabled/gsw.conf is used to configure the adaptor with information about the web applications for which it will provide access: | + | <tt>/etc/apache2/mods-enabled/gsw.conf</tt> is used to configure the adaptor with information about the web applications for which it will provide access: |
<pre> | <pre> | ||
<IfModule gsw_module> | <IfModule gsw_module> |
Revision as of 18:09, 19 January 2008
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>