You can generate an apache configuration with the built in test suite. Run:
$ t/optional_apache-fastcgi.pl
Next look in the directory t/conf for the file extra.conf. Here's the relevant bit:
<IfModule mod_fastcgi.c>
FastCgiIpcDir /usr/local/src/WIAB/t/tmp/ # may need to remove this line!
FastCgiServer /usr/local/src/WIAB/t/../script/wiab_fastcgi.pl -idle-timeout 300 -p
rocesses 1
ScriptAlias /fastcgi /usr/local/src/WIAB/t/../script/wiab_fastcgi.pl
</IfModule>
It's generateted a off-root deployment for you on /fastcgi.
Change:
ScriptAlias /fastcgi
to read:
ScriptAlias /yourpath
or
ScriptAlias /
if you want to run on the server
Add this section of the auto generated config to your server configuration file, and either restart apache (if you're on standalone hosting) or wait a few minutes for Apache to reload if you're on shared hosting.
TODO
TODO