rewrite help needed.
ian at ianhobson.co.uk
Wed Aug 26 18:39:41 MSD 2009
Nuno Magalhães wrote:
>> I should have mentioned that I'm on ubuntu and therefore nginx 0.5.33 ! No
>> So I must either compile nginx on (unfamilar) ubuntu, or work round the
>> missing try-files.
> And i thought Debian Sid was slow keeping up to date with nginx
> (latest is 0.7.61 ).
Thanks Nuno for the information.
That is the latest stable.
> The source comes with a configure script, it's (almost) as simple as
> running it. Search the nginx wiki for the modules you want to
> add/remove and pertinent configuration/installation and you should do
> fine. If you run into trouble the Ubuntu forums are a vast source of
I managed to configure it to debian default, and then make and make
install on a test machine. I rather suspect that is it now too late for
checkinstall, although it does exist.
Now to release it to the server. Is this right?
Move /usr/local/smin/nginx to the same place, owner root:root, chmod 755.
From /etc/nginx move the files koi-win, koi-utf, win-utf, mine.types,
and fastcgi_params (checking the last for possible edits) to the same
place, all owned root:root, chmod 644.
How to check this before I do the copies and mess up the other 7 sites
on the server?
> If it's in the Ubuntu repos, i recommend using "checkinstall" (?)
> instead of "make install", that way you'll end up with a .deb to
> install, which makes things much more clean.
indeed, installing a deb is nice.
> Nuno Magalhães
>  http://packages.debian.org/sid/nginx
>  http://packages.ubuntu.com/dapper/checkinstall
More information about the nginx