nginx rewrite stikked

Bertrand Caplet bertrand.caplet at okira.net
Mon Jul 23 14:23:11 UTC 2012


Hi,
I'm installing stikked (a pastebin web server) on my server. I'm having 
trouble, I want to rewrite all url like this : 
http://pastebin.okira.net/index.php/lists like that : 
http://pastebin.okira.net/index.php?lists
There is a rewrite rule in the install howto but it didn't work :

location / {
     try_files $uri $uri/ @stikked;
     }
location @stikked {
     rewrite ^/(.*)$ /index.php?/$1 last;
     }

Thanks for help, Regards.
-- 
Bertrand Caplet
Web. blog.okira.net <http://blog.okira.net>
bertrand.caplet at okira.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120723/03ea5e91/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig-ecolo.gif
Type: image/gif
Size: 1988 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120723/03ea5e91/attachment.gif>


More information about the nginx mailing list