RewriteRule question

General help with installation, scripts, etc....

RewriteRule question

Postby gj » Fri Aug 17, 2007 11:15 am

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
gj
 
Posts: 2
Joined: Fri Aug 17, 2007 10:54 am

Postby scott » Mon Aug 20, 2007 11:12 pm

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.
scott
 

RE:

Postby gj » Tue Aug 21, 2007 5:24 am

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
gj
 
Posts: 2
Joined: Fri Aug 17, 2007 10:54 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron