Apache configuration URL Redirection
Modify the /etc/httpd/conf/httpd.conf
contents of the file
<Directory "/var/www">
AllowOverride None
# Allow open access:
Require all granted
</Directory>
for
<Directory "/var/www">
AllowOverride All
# Allow open access:
Require all granted
RewriteEngine On
RewriteRule /task/* /index.html?$1
</Directory>