1 This directory must be accessible to your PHP files via the relative path: code/wfpl/
3 The recommended way to do this is to create a directory named "code" in the
4 main folder of your website. And make symbolic links to that "code" directory
5 from all directories in your website where you run PHP.
7 Install wfpl within that "code" directory. That is, these files should be in a
8 directory named "wfpl" in the "code" directory described above.
12 INSTALLING METAFORM on apache
14 metaform.php unfortunately has a couple extra steps.
16 1) make a directory (named "metaform" in this example) for metaform.
18 2) make sure code/wfpl is accessible in this directory (link to your main
19 "code" directory) as described above
21 3) make a symbolic link to metaform.php called index.php:
23 ln -s code/wfpl/metaform.php index.php
25 4) make a file named .htaccess that looks like this:
28 RewriteBase /metaform/
29 RewriteRule .*\.tgz$ /metaform/index.php
31 Note: the above .htaccess file assumes that the "metaform" directory you
32 created in step one is in the root www directory. If it's in a sub directory
33 (for example you access it via: http://example.com/my/sub/dir/metaform/) then
34 replace the two occurrences of "metaform" in the .htaccess file with the path
35 to that directory (for example "my/sub/dir/metaform").
37 5) If php can't write to /tmp then you'll have to fix the $tmp_dir in