Differences
This shows you the differences between two versions of the page.
netbsd_apache [2012/08/31 15:12] |
netbsd_apache [2012/08/31 15:12] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== NetBSD Apache ====== | ||
+ | * [[NetBSD]] | ||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | * Apache user: ''www'' | ||
+ | * Configuration files: ''/usr/pkg/etc/httpd'' | ||
+ | |||
+ | |||
+ | <code> | ||
+ | The following files should be created for apache-2.2.22nb1: | ||
+ | |||
+ | /etc/rc.d/apache (m=0755) | ||
+ | [/usr/pkg/share/examples/rc.d/apache] | ||
+ | </code> | ||
+ | |||
+ | === mod_fcgid === | ||
+ | |||
+ | <code> | ||
+ | |||
+ | To enable this module, add something like the following lines to | ||
+ | your Apache server configuration file: | ||
+ | |||
+ | LoadModule fcgid_module lib/httpd/mod_fcgid.so | ||
+ | |||
+ | <IfModule mod_fcgid.c> | ||
+ | AddHandler fcgid-script .fcgi | ||
+ | </IfModule> | ||
+ | </code> |