For any simple php site, I wish to have friendly Web addresses. So I'd like my web addresses to appear like:

http://mysite.com/page/123

Which points to:

http://mysite.com/page.php?id=123

Which works! But When I indicate personal files that is not around the server, apache spikes, and I must pressure Apache to stop (developing in your area with MAMP, for at this time).

Here's my .htaccess file. Any ideas?

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} -f  [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

RewriteRule ^([^/=]+)/?([^/]*)/?$ $1.php?id=$2 [N,QSA]

ErrorDocument 404 /404.php

Just turn back order of the two rules and employ the L flag rather than N:

RewriteCond $1 !.*\.php$
RewriteRule ^([^/=]+)/?([^/]*)/?$ $1.php?id=$2 [L,QSA]

RewriteCond %{REQUEST_FILENAME} -f  [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]