Error 404 after installation

I just had a fresh install of Elgg at www.makhol.com/elgg/. The installation went fine without any error. After completion, if you look at the link I've provided, the page seems to have a missing CSS file. Apart from that, when I logged in as the admin,  it says

Not Found
The requested URL /elgg/action/login was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Does anyone know how to fix it??

Regards

  • In case anyone else if facing this issue, please check the RewriteBase in .htaccess file. Since my installation paty is home/elgg/, I had to put 'RewriteBase /elgg/' in .htaccess file. That solved my problem.