Only examples I could find where using PSP, which I don't want to use as I don't want to have a config-file near my CGI in this special situation.
I would have gladly implemented a NO CONFIG file option for you .. :-)
Actually I already did:
On latest SVN, PSP does not require a Config file if you turn the CONFIG_ON define off. This will be released in version 1.6.1
(note: version 1.6.0.1 is different than version 1.6.1)
Previous versions released require the config file be in a global location, or local near the CGI file.
Other notes:
On latest SVN you can also disable Sessions by not enabling the SESSION_ON define, and you can enable/disable verbose debugging too. The current executable size with all defines OFF is about 47KB, whereas older versions of PSP were over 200KB default.