Msg#: 4124 posted 11:33 am on Jul 20, 2005 (gmt 0)
i m using the following rule and i m sure it can be much better, i ve very lil experience with rewriting. so help.
i want my index.php file to open when typed www.domain.com/some-directory/ but i ve defined some rule to rewrite any page like this some-directory/some-page.php to this some-directory/services.php?name=(some-page)
problem is above defined rule takes every request to the services.php page, i ve tried the following rule too RewriteRule some-directory/[^(index)](.*)$ /services.php?name=$1 but i ve not been able exclude the index.php from being processed. can someone plz tell how to group the text correctly and exclude it. thanks