Nginx and Rewriting

Hi there,

happy new year first of all!
CumulusClips looks very cool but I have to run it with (the unsupported) nginx since the server is running other projects which can't get migrated to Apache2 easily (and parallel usage is a bit messy I think).

A friendly man called Fuzzy wrote this manual:

But I fail at configuring the URL rewrite rules in nginx.
I placed all the CC stuff into a subfolder called "video", the main page is accessible but every link caused 404.

At the beginning of the CumulusClips install script there are mentioned these rules for Apache:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

According to Fuzzy, it's
try_files $uri $uri/ /index.php?q=$uri&$args =404;
which causes the rewriting but it doesn't work in my case, even when I make a seperation location with alias for "video".

Does anybody has a clue why this happens, or can someone tell me which is the actual scheme behing "index.php?" which CC does expect so I can write a similay rule for nginx?
I - for example - tried "/video/index.php?login" and "/video/index.php?q=login" but these seem to be wrong.

Thank you in advance,


Sign In or Register to comment.