Hi. Ive got a small problem which I think is a HTACCESS issue & im not sure how to resolve.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. etc.. etc...
I'll show you the WORKING code forst, & then my incorrect code.


RewriteRule ^directory /index.php?page=directory [NC]

index.php :-

if($page == "directory")
require_once ("directory.php");

$template_data['page_title']="Kwister - Links to useful animal related websites";
// Process_Template ("links.tpl",$template_data);

The above code works, but - if i call directory/php directly in htaccess - I get the server error.

incorrect htaccess:

RewriteRule ^directory /directory.php [NC]

I dont mind - I can cope with passing things via the index.php, but i eventually want to include 2-3 extra variables in a clean URL - to pass through to directory.php, & it makes sense to utilise directory.php directly instead of extra coding to index.php

any ideas ?