Nginx Apache Rewrite Sweetcron

Robert Gabriel lists at ruby-forum.com
Thu Oct 9 12:35:16 MSD 2008


This rule:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

could be done like this:

error_page  404 = /index.php?q=$1;
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list