Hi, I am trying to rewrite URLs using .htaccess but couldn't make it. In case you can help me plz.. I have searched this forum but could not get any solution. I have tried these links : http://www.webconfs.com/url-rewriting-tool.php http://httpd.apache.org/docs/2.0/misc/rewriteguide.html but not succeeded. I think either i have to check server setting or i am doing a little mistake. Waiting for your responce...................
.htacess file Options +FollowSymLinks RewriteEngine on RewriteRule process-id-(.*)\.htm$ process.php?id=$1
search ur httpd.conf file (usually /etc/http/conf/httpd.conf) for the mod_rewrite module, it should be uncommented. if not, uncoment save ans restart httpd.
you should check from phpinfo(); just write a script in a text file <?php phpinfo(); ?> and save it as a php file and run it. it will show the enabled modules in apache section.from there you can see if mod_rewrite is enabled or not.i think your mod_rewrite is not enabled.you should follow legend2's suggestion.