Page 1 of 1

RewriteRule question

PostPosted: Fri Aug 17, 2007 11:15 am
by gj
Hello,

I tested a rewrite rule (written below) on a server somewhere else running Apache 1.3.37 and PHP 4.4.7. When I use the same rewrite rule on my hosting here on canadianwebhosting.com, the same rewrite rule doesn't work. Is there anything else I should check? Does anybody have any problem using rewriterule?

RewriteEngine on
RewriteBase /
RewriteRule ^test/oldfoldername/([A-Za-z-]+\.html|[A-Za-z-]+\.htm)$ http://www.bankruptcy-canada.ca/test/newfoldername/$1 [L]

Thanks for all your help.
gj

PostPosted: Mon Aug 20, 2007 11:12 pm
by scott
Hello gj :)

It should be working fine.

If you continue to have problem with this, let me know the error.

We will then check it from our end and will do the needed.. :)

Take Care and Have a Nice TIme.

RE:

PostPosted: Tue Aug 21, 2007 5:24 am
by gj
Hello sreejith,

Thanks for your reply, I found out where the problem is. The rewrite rule was conflicting with another rule. It's working fine now.

gj