FAQ-OMatic
view release on metacpan or search on metacpan
% mv fom /usr/local/etc/httpd/cgi-bin/fom.cgi
% netscape http://localhost/cgi-bin/fom.cgi
* If the user that CGIs run as can't write to the directory in which
CGIs reside (a wise security move), create a writable meta/ directory
(or a link to one) there in advance:
...
% mv fom /usr/local/etc/httpd/cgi-bin/fom
% mkdir /usr/local/etc/httpd/cgi-bin/meta
% chown nobody /usr/local/etc/httpd/cgi-bin/meta
% netscape http://localhost/cgi-bin/fom
or
...
% mv fom /usr/local/etc/httpd/cgi-bin/fom
% mkdir /somewhere/else/meta
% chown nobody /somewhere/else/meta
% ln -s /somewhere/else/meta /usr/local/etc/httpd/cgi-bin/meta
% netscape http://localhost/cgi-bin/fom
* If you'd rather not even put a link in that directory, modify the
fom CGI stub to name the meta directly:
% vi fom
% cat fom
#!/usr/local/bin/perl
use Faq::Omatic::dispatch
( run in 0.492 second using v1.01-cache-2.11-cpan-71847e10f99 )