File not recognizing in server...using .htaccess

Hi there,

I am trying to redirect…using .htaccess file.

this is what i’ve mentioned in my .htaccess file.


RewriteEngine On

RewriteRule ^([a-zA-Z0-9-/]+).html$ profile.php?url=$1
RewriteRule ^([a-zA-Z0-9-/]+).html/$ profile.php?url=$1

but when I run it to my server it flaging up with the Error:


Not Found

The requested URL /mydomain.com/profile.php was not found on this server.

it seems, .htaccess is working fine…but why its not recognizing the file profile.php

It working fine with my pc, I’ve configured WAMP server.

would you please help me as where I mistook.

Thanks a ton!!