rewrite help!

Melissa melissa at
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 would go to
where lives php that would make use of /this/that as variables - thus
avoiding having urls like

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?

RewriteEngine on
RewriteRule !\\.(gif|jpg|png|css)$ /home/risoeng/


More information about the talk mailing list