First of all you need to make sure that module rewrite is enabled on your server. If its not you need to enable it.
To see if mod_rewrite is enable or not follow below instructions:
To check if mod_rewrite module is enabled, create a new php file in your root folder on your server. Enter the following in php file
<?php phpinfo(); ?>
Access your created file from your browser.
Ctrl/Cmd F to open a search. Search for 'mod_rewrite'. If it is enabled you see it as 'Loaded Modules'
If not, open httpd.conf (Apache Config file) and look for the following line.
#LoadModule rewrite_module modules/mod_rewrite.so
Remove the pound ('#') sign at the start and save the this file.
Restart your apache server.
Access the same php file in your browser.
Search for 'mod_rewrite' again. You should be able to find it now.
If you can't find it or find out difficult to enable, contact your hosting to get it enabled.
if mod_rewrite is enabled then you can follow below instructions.
If you are installing IRFGenerator in a directory and installation leads to 404 error message please follow below to fix your issue:
Then you need to change .htaccess file like this
Where [myfolder] is the name of your installation directory.