(Answer) (Category) Faq-O-Matic Faq-O-Matic : (Category) Administrators' Guide : (Category) Install :
Must metadata be stored in my cgi-bin directory?
If the user that CGIs run as can't write to the directory in which CGIs reside, you can 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 directly name the desired meta directory:
    % vi fom
    % cat fom
    #!/usr/local/bin/perl
    use Faq::Omatic::dispatch
    Faq::Omatic::dispatch::main('/somewhere/else/meta/');
    % mv fom ...

[Append to This Answer]
Previous: (Answer) Can I name the CGI something other than "fom"?
Next: (Answer) How do I run multiple FAQs with one installation?
This document is: http://www.jonh.net/cgi-bin/faqomatic/fom?file=439
[Search] [Appearance]
This is a Faq-O-Matic 2.718d.
Hosted by SourceForge Logo and jonh.net.