Welcome! Log In Create A New Profile

Advanced

Re: [Rewrite] Url - rewriting

July 30, 2009 02:03PM
Sorry I have forget information !!

When I want to restart Nginx I have error :

[code]
Bender:~# /etc/init.d/nginx restart
Restarting nginx: 2009/07/30 18:35:44 [emerg] 2646#0: "if" directive is not allowed here in /etc/nginx/sites-enabled/default:24
nginx.
[/code]
[The error is in [u]if ( $host ~* "(.*)\.([a-zA-Z0-9_-]*\.[a-zA-Z]{2,4})" )[/u] ]
Subject Author Posted

[Rewrite] Url - rewriting

CactO_o's July 30, 2009 12:22PM

Re: [Rewrite] Url - rewriting

CactO_o's July 30, 2009 02:03PM

Re: [Rewrite] Url - rewriting

CactO_o's July 30, 2009 02:03PM

Re: [Rewrite] Url - rewriting

Igor Sysoev July 30, 2009 02:23PM

Re: [Rewrite] Url - rewriting

CactO_o's July 30, 2009 05:07PM

Re: [Rewrite] Url - rewriting

Igor Sysoev July 31, 2009 05:26AM

Re: [Rewrite] Url - rewriting

Andrius Semionovas July 30, 2009 02:28PM

Re: [Rewrite] Url - rewriting

CactO_o's August 01, 2009 06:53AM

Re: [Rewrite] Url - rewriting

CactO_o's August 05, 2009 01:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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