Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Another rewrite question http://www.domain.com/co/
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
devin
April 14, 2009 01:16AM
Registered: 15 years ago
Posts: 3
I already tried this one.
I'm using quotes due to the brackets {}, if I don't use them, nginx fails to read the config, as {} are used by nginx config.
I have:
location / {
some-non-rewrite-rules-only-basic-config-rules
if (!-e $request_filename) {
go to index.php
}
rewrite ^/([a-z])/?$ /index.php?country=$1 break;
}
And it still doenst works.
Thnx for your help.
Reply
Quote
RSS
Subject
Author
Posted
Another rewrite question http://www.domain.com/co/
devin
April 13, 2009 04:08PM
Re: Another rewrite question http://www.domain.com/co/
Kiril Angov
April 13, 2009 06:19PM
Re: Another rewrite question http://www.domain.com/co/
Kiril Angov
April 13, 2009 06:24PM
Re: Another rewrite question http://www.domain.com/co/
devin
April 14, 2009 01:16AM
Re: Another rewrite question http://www.domain.com/co/
devin
April 14, 2009 02:59AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018