I have mod_rewrite configured on my server. The contents of my .htaccess file are as follows:
Options SymlinksIfOwnerMatch
RewriteEngine on
RewriteRule /textbooks/([0-9]+)/$ /textbooks/index.php?nodeid=$1 [L]
Basically, I have a file called index.php inside a textbooks directory. Whenever a user goes to www.mydomain.com/textbooks/65510 I want it to point to textbooks/index.php?nodeid=65510 (Note that that 65510 should be any number).
Any idea why the above code doesn't work? It's giving me a 404 Page Cannot Be Found error. My server people tell me it's configured properly but I can't figure out why that code doesn't work.