Why not adopt me?
Name
wdapacheinit - configure Apache to process .psp files through WebDyne
Synopsis
wdapacheinit [options]
Options
-?, --help Show brief help message
- --man
-
Display the manual page
- --uname
-
The user name that the Apache daemon runs under when started, e.g. "varname", "httpd", "apache" etc.
- --gname
-
The group name that the Apache daemons runs under when started
- --httpd_bin
-
Full path and filename of Apache httpd executable, e.g./opt/apache/bin/httpd
- --mod_perl_lib
-
Full path and filename of the Apache mod_perl library, e.g. /opt/apache/lib/modules/mod_perl.so
- --dir_apache_conf
-
Location (directory name) where the main Apache config file resides, e.g /opt/apache/etc/conf
- --dir_webdyne_cache
-
Location (directort name) where partially compiled psp files will be cached
- --silent
-
No output
- --uninstall
-
Remove references to WebDyne from Apache config files
Description
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.