Redirection Problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dheeraja
Forum Commoner
Posts: 36
Joined: Tue Nov 09, 2010 11:03 pm

Redirection Problem

Post by dheeraja »

Hi guys,

I am using
rewriterule ^(.*)$ http://www.example.com/$1 [R,L]
in .htaccess for redirection, its working fine.

But it shows error when I am using it to local server as :
rewriterule ^(.*)$ http://192.170.70.1/dvr/$1 [R,L]
Error is: Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.


So please anyone help me...

Thanks
Post Reply