My Apache Version is Apache/2.0.63 (Unix) . And i think there is no need to enable mod_rewrite because it is default in this version.
And also in Loaded Modules it says "mod_rewrite" in phpinfo.
Now I want to change my url such as
The original URL:
http://www.mydomain.com/out.php?id=53
The rewritten URL:
http://www.mydomain.com/53.html
So the rule is
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /out.php?id=$1 [L]
Problem is: I am writing this rule into the .htaccess file and uploading it but it doenst work?
What i miss?
And also in Loaded Modules it says "mod_rewrite" in phpinfo.
Now I want to change my url such as
The original URL:
http://www.mydomain.com/out.php?id=53
The rewritten URL:
http://www.mydomain.com/53.html
So the rule is
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /out.php?id=$1 [L]
Problem is: I am writing this rule into the .htaccess file and uploading it but it doenst work?
What i miss?