Ask Your Question

Revision history [back]

mod rewrite is normally installed with apache installations in other to use it you must frite your rewrite rules normally on the .htaccess file under the web page folder like /var/www/html/.htaccess

inside .htaccess the content should look like

<ifmodule mod_rewrite.c=""> RewriteEngine On RewriteBase / DirectoryIndex index.php index.html RewriteRule ^(.*)$ index.php/$1 [L]

</ifmodule>

mod rewrite is normally installed with apache installations in other to use it you must frite your rewrite rules normally on the .htaccess file under the web page folder like /var/www/html/.htaccess

inside .htaccess the content should look like

<ifmodule mod_rewrite.c="">

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
 RewriteBase /
DirectoryIndex index.php index.html
   RewriteRule ^(.*)$ index.php/$1 [L]

[L] </IfModule>

</ifmodule>