From: Jason Woofenden Date: Wed, 13 Aug 2014 22:22:54 +0000 (-0400) Subject: .htaccess works without knowing URL's pathname X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=f3f1c7b8837433a9770043afb80cbd4d19494eaf .htaccess works without knowing URL's pathname --- diff --git a/metaform/htaccess b/metaform/htaccess index 517f638..317f925 100644 --- a/metaform/htaccess +++ b/metaform/htaccess @@ -42,7 +42,7 @@ RewriteEngine on # Unfortunately, the rewrite rules only work with absolute paths, so if your # files are not at the top level of the domain, you'll have to customize this # part. Here's the config for running at the top level: -RewriteRule ^[^/.]*$ /run.php +RewriteRule ^[^/.]*$ ./run.php # use this line instead if you have this (.htaccess) file and your php and html # files in the ~form~ directory: