X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=INSTALL;h=09fa003ea45e5a4665e71cecfb6d9403fdf67bc0;hb=eecd5e3576866afc8091abe9b74352130fd8e6cc;hp=32e8fe34c12771fb3f6fa86f827cb86c3f30ceda;hpb=236f0d7f8885c783714a24e03093530a3d183b7a;p=wfpl.git diff --git a/INSTALL b/INSTALL index 32e8fe3..09fa003 100644 --- a/INSTALL +++ b/INSTALL @@ -1,3 +1,5 @@ +INSTALLING WFPL + This directory must be accessible to your PHP files via the relative path: code/wfpl/ The recommended way to do this is to create a directory named "code" in the @@ -9,7 +11,10 @@ directory named "wfpl" in the "code" directory described above. -INSTALLING METAFORM on apache +INSTALLING METAFORM on apache (OPTIONAL) + +Note: metaform is a code generator. It is NOT required to use wfpl. It is a +tool for auto-generating code for your site which makes use of wfpl. metaform.php unfortunately has a couple extra steps. @@ -24,12 +29,15 @@ ln -s code/wfpl/metaform.php index.php 4) make a file named .htaccess that looks like this: +php_flag register_globals off +php_flag magic_quotes_gpc off +AddDefaultCharset UTF-8 RewriteEngine on RewriteBase /metaform/ RewriteRule .*\.tgz$ /metaform/index.php Note: the above .htaccess file assumes that the "metaform" directory you -created in step one is in the root www directory. If it's in a sub directory +created in step one is IN the root www directory. If it's in a sub directory (for example you access it via: http://example.com/my/sub/dir/metaform/) then replace the two occurrences of "metaform" in the .htaccess file with the path to that directory (for example "my/sub/dir/metaform").