PDA

View Full Version : mod_rewrite help!


ups&downs
03-13-06, 02:00 AM
Hi,

I think the mod_rewrite only works when we give the address in the address bar of static page manually.
what if the address comes throught hyper refrence form previous page,I mead i have www.abc.com website that has a link Contactus and takes me to the contactus.php and the address bar shows the address as www.abc.com/contactus.php,
but i want that the address bar showed the address as www.abc.com/contactus on this page with the help of mod_rewrite.

I am very thankful to you for this and have wasted 1 weak for this.
Thanks.

FiRe
03-13-06, 04:00 AM
RewriteEngine on
RewriteRule ^contactus contactus.php

ups&downs
03-13-06, 05:58 AM
Hi,
I am shoked if u r on this forum, how this furum can do wrong, this code is straight forward out of senses.
I have listened that with the help of installation of some extra Apache's modules, we can run .htaccess & other files on the local system rather than on the FTP server.
If anyone knows about these, what modules these are and their configuation,please i want help.

Thanks.