melissa at inexact.info
Thu Apr 3 19:16:22 EST 2003
Sorry if this is a little off topic, but i was hoping to get some help with
a mod_rewrite problem. I used a statement in my .htaccess with an error
that caused an infinite loop, and understandably my host got a bit peeved.
If I get it wrong again, they may cancel my account - the problem being,
that I think I have the error corrected, but I don't want to risk testing it
and losing my hosting.
What I am trying to do is to make everything redirect to /index.php: so
http://inexact.info/this/that would go to http://www.inexact.info/index.php
where lives php that would make use of /this/that as variables - thus
avoiding having urls like inexact.info/index.php?var1=this&var2=that.
Is the following correct to put in .htaccess and achieve this goal, or will
it simply loop infinitly and cause me to get booted from dreamhost?
RewriteRule !\\.(gif|jpg|png|css)$ /home/risoeng/inexact.info/index.php
More information about the talk