Rule example from .htaccess file

Jul 14, 2010 at 2:30 PM

I am ashamed to admit that this is completely beyond me today. My eyes are swimming trying to make sense of the rewrite rules as I try and create a new ini file from an exisiting htaccess file for a knowledge base app I'm trialling (Interspire Knowledge Manager).

If you can show me what I need in the ini I would be eternally grateful.

The .htaccess file has the follwoing:

RewriteCond %{REQUEST_URI} !categories\.php RewriteRule ^categories(.*) categories.php?$1 [L]
RewriteCond %{REQUEST_URI} !questions\.php RewriteRule ^questions(.*)$ questions.php?$1 [L]
RewriteCond %{REQUEST_URI} !search\.php RewriteRule ^search(.*)$ search.php?$1 [L]
RewriteCond %{REQUEST_URI} !news\.php RewriteRule ^news(.*)$ news.php?$1 [L] redirects to redirects to


What do I need in my ini file to duplicate this rewrite functionality?