I have a test version of Apache 1.3.33 running on my xp machine. I need to get mod_rewrite working. The rewrite code is code I have used successfully on LAMP servers many times and I am sure it is good.
In my httpd.conf file I have:
LoadModule rewrite_module modules/mod_rewrite.so
and...
I am using header in PHP to redirect if certain cookies are not present. When I issue the header command instead of the page I should be getting I get this page:
*****************************************
Page title: 200 OK
Page contents:
OK
The document has moved here...
I have a mod rewrite that I need to do. What I want to do is redirect the entire site to the root index.php file. I have tried a few things that are totally screwed up. I believe that everything I try (like (.*) /index.php just throws the server into an infinite loop.
I need something like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.