.htaccess - Simple redirect apache infinite loop -
I'm using xampp under Windows 7. I've kept .htaccess in% XAMPP_ROOT% / htdocs. .htaccess has a falling line in:
redirect after typing http: I have an infinte loop error in a // local host browser address field. A http: //localhost/test.php/test.php/test.php/test.php/test.php/test Is on. Php / test.php test.php test.php test.php test.php test.php test.php test.php test.php test.php test.php test.php / Test.php / test.php / . But I hope that I am redirecting to http: //localhost/test.php/ .
Use RedirectMatch to avoid this scenario by using regex Should: RedirectMatch ^ /? $ Http: //localhost/test.php/
Comments
Post a Comment