Sometime’s while accessing Entropy search feature from CPanel we may encounter errors like :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
To fix the just run the below command from shell :
[email protected][#] cd /usr/local/cpanel/cgi-sys
[email protected][#] chown root.wheel entropysearch.cgi
That’s all this will fix the issue.
If you are facing any problem regarding Entropy Search not returning the expected results then refer the below steps :
Ask your hosting provider to add the php extensions to the list of searchable files in :
[email protected][#] vi /usr/local/cpanel/bin/makeindex
then seach for the keyword @EXTS=
replace : my @EXTS= qw(txt html shtml htm); with my @EXTS=qw(“php”,”php3″,”txt”,”html”,”shtml”,”htm”);
save and quit.
Then from CPanel rebuild the Search index from CPanel >> Software/Services >> CGI Center >> Rebuild Search Index
That’s all you are done.
Note : The file should be chattr +i to prevent the cpanel updates to replace it , remove chattr before making the changes.