Okay, so I've followed a dozen different tutorials, and I can't get mod_rewrite to work.
.htaccess contents:
RewriteBase /
RewriteEngine on
RewriteRule /test/(.*) /test.php?test=$1 [NC]
test.php contents:
<?
$test = $_GET['test'];
print("Variable was: <b>" . $test . "</b>");
?>
The URL I loaded was http://domain.com/test/blah
The re-write is apparenty working, but nothing ($1) is passed to the actual script (test.php)...any help? How can only half of it work?