atom feed4 messages in ru.sysoev.nginxRe: Nginx Apache Rewrite Sweetcron
FromSent OnAttachments
A83 SeOct 8, 2008 2:35 pm 
Robert GabrielOct 9, 2008 1:34 am 
Robert GabrielOct 9, 2008 1:35 am 
A83 SeOct 10, 2008 1:30 am 
Subject:Re: Nginx Apache Rewrite Sweetcron
From:Robert Gabriel (lis@ruby-forum.com)
Date:Oct 9, 2008 1:35:34 am
List:ru.sysoev.nginx

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; .... }