RewriteCond / rule for mod_rewrite

From: Date: Tue, 12 Jan 2010 13:49:31 +0000
Subject: RewriteCond / rule for mod_rewrite
Groups: php.general 
Request: Send a blank email to php-general+get-301019@lists.php.net to get a copy of this message
I have this in my .htaccess file (for a Magento installation). ############################################ ## never rewrite for existing files, directories and links RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l ############################################ ## rewrite everything else to index.php RewriteRule .* index.php [L] The client just asked for a wordpress installation. I installed and set it up in /blog. But when I request /blog in my browser, I get an endless redirect error. ??? Anyone care to offer help with why? -- John Corry PHP developer - 3by400, Inc http://www.3by400.com

« previous php.general (#301019) next »