0
私のURLは、このhtaccessを
localhost/luz/home -> read home.php file
localhost/luz/content/about -> read content.php?page=about
のようなものですが、どういうわけか、それは完全に動作しません。
localhost/luz/home -> SUCCESS
localhost/contenttt -> internal server error (contenttt.php doesn't exist and the 404 doesn't work)
localhost/content/about -> somehow it loads content.php?page=about.php/about
私のhtaccessのは簡単です
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ $1.php
RewriteRule ^content/(.*)$ content.php?page=$1
ErrorDocument 404 /404.php