When I insert a wrong url to the server, I got the error as blow :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, administrateur@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
And then I check the log of apache, I got some notice :
Thanks for Google, I got the resolve.
Open the .htaccess files, we can get some code as below :
RewriteCond % {REQUEST_FILENAME} ! -f
RewriteCond % {REQUEST_FILENAME} !- d
RewriteCond % {REQUEST_URI} !=/ favicon.ico
RewriteRule ^(. * ) $ index.php ? q = $1 [L,QSA]
Because the website is running in a subdirectory of the server ( or maybe in a VirtualDocumentRoot and the rewrite rules are not working properly), after I modify the .htaccess file, I fix the error. Here is the code :


RewriteCond % {REQUEST_FILENAME} ! -f
RewriteCond % {REQUEST_FILENAME} !- d
RewriteCond % {REQUEST_URI} !=/ favicon.ico
RewriteRule ^(. * ) $ / index.php ? q = $1 [L,QSA] # add a slash in front of index.php?