wdapacheinit - configure Apache to process .psp files through WebDyne
wdapacheinit [options]
-?, --help Show brief help message
Display the manual page
The user name that the Apache daemon runs under when started, e.g. "varname", "httpd", "apache" etc.
The group name that the Apache daemons runs under when started
Full path and filename of Apache httpd executable, e.g./opt/apache/bin/httpd
Full path and filename of the Apache mod_perl library, e.g. /opt/apache/lib/modules/mod_perl.so
Location (directory name) where the main Apache config file resides, e.g /opt/apache/etc/conf
Location (directort name) where partially compiled psp files will be cached
No output
Remove references to WebDyne from Apache config files
wdapacheinit will attempt to locate Apache configuration files and modify them so that requests for .psp pages are processed through the perl-handler WebDyne module.
Where Apache uses a conf.d configuration file structure the installer will simply create a webdyne.conf file with the appropriate configuration int the conf.d directory. Where no conf.d structure can be found the installer will create the webdyne.conf file in the same location as the main Apachehttpd.conf file, then modify httpd.conf to append an include reference to the Webdyne config file.
The installer will attempt to locate the necessary files and other information using common defaults - however if it can not discover the required information automatically (e.g. the path to the Apache binary) it will be necessary to specify it explicitly using the appropriate command line option.
Written by Andrew Speer, andrew@webdyne.org
Copyright (C) 2009-2010 Andrew Speer. Free use of this software is granted under the terms of the GNU General Public License (GPL)
To install WebDyne, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebDyne
CPAN shell
perl -MCPAN -e shell install WebDyne
For more information on module installation, please visit the detailed CPAN module installation guide.