Re: mod_rewrite (the solution)

From: Date: Wed, 17 Apr 2002 23:15:05 +0000
Subject: Re: mod_rewrite (the solution)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93438@lists.php.net to get a copy of this message
In article <LAW2-F53U3AfCWPM9Bv0000150e@hotmail.com>, rswfire@hotmail.com wrote: > RewriteEngine on > RewriteBase / > RewriteRule $.* index.php RewriteRule takes a regular expression as its first parameter <http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRule>. The "$" regex meta-character is an end-of-line marker. It has no special meaning at the beginning of a pattern. If you want a pattern that matches "anything including nothing", use: RewriteRule ^.*$ index.php -- CC

« previous php.general (#93438) next »