Nginx Apache Rewrite Sweetcron
A83 Se
lists at ruby-forum.com
Fri Oct 10 12:31:02 MSD 2008
Robert Gabriel wrote:
> 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;
> ....
> }
Thanks a lot, anyone knows how to solve the follow symlinks part? The
site ain't working yet :(
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list