Nginx Apache Rewrite Sweetcron
Robert Gabriel
lists at ruby-forum.com
Thu Oct 9 12:35:57 MSD 2008
Robert Gabriel wrote:
> 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;
location / {
root /home/a83/public_html/nerstu.se/public/;
index index.php;
error_page 404 = /index.php?q=$1;
....
}
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list