Welcome! Log In Create A New Profile

Advanced

Re: rewrite help needed.

Ian Hobson
August 26, 2009 10:39AM
Nuno Magalhães wrote:
>> I should have mentioned that I'm on ubuntu and therefore nginx 0.5.33 ! No
>> try-files.
>>
>> 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 [1]).
>
>
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
> help.
>
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" ([2]?)
> 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.
> HTH,
> Nuno Magalhães
>
> [1] http://packages.debian.org/sid/nginx
> [2] http://packages.ubuntu.com/dapper/checkinstall
>
>
Regards

Ian
Subject Author Posted

rewrite help needed.

Ian Hobson August 26, 2009 08:57AM

Re: rewrite help needed.

Igor Sysoev August 26, 2009 09:10AM

Re: rewrite help needed.

Ian Hobson August 26, 2009 09:35AM

Re: rewrite help needed.

Igor Sysoev August 26, 2009 09:44AM

Re: rewrite help needed.

Maxim Dounin August 26, 2009 01:57PM

Re: rewrite help needed.

Nuno Magalhães August 26, 2009 09:55AM

Re: rewrite help needed.

Ian Hobson August 26, 2009 10:39AM

Re: rewrite help needed.

Jeff Waugh August 26, 2009 10:18AM

Re: rewrite help needed.

Ian Hobson August 26, 2009 11:44AM

Re: rewrite help needed.

Jeff Waugh August 26, 2009 12:59PM

Re: rewrite help needed.

Ian Hobson August 26, 2009 05:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 79
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready