Hi.

I created this .htaccess:
-----
RewriteRule ^([^/]+)/$ /page.php?id=$1 [L]
-------

And it works fine with:
http://domain.com/foo/ (it shows a webpage)

But it shows a 404 error page with:
http://domain.com/foo

I tried adding this line to .htaccess:
----
RewriteRule ^([^/]+)$ /page.php?id=$1 [L]
-----

But now it shows a 500 error webpage in both cases.

Any suggestion? Thank you very much.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to