Server
How to set apache to use clean url ?
1.you must enable mod_rewrite module by remove # before this line in httpd.conf
# Enable mod_rewrite
LoadModule rewritemodule modules/modrewrite.so
2.set apache to allow .htaccess file by change value AllowOverride to All
# AllowOverride controls what directives may be placed in .htaccess files.
AllowOverride All
3.and restart Apache