Hi Kalle,
Do you have a proxy_set_header line in your nginx config? If not, try to add
a line like this within the location block?
location / {
...
proxy_set_header Host $http_host;
...
if (!-f $request_filename) {
proxy_pass http://cannesdepetrol;
break;
}}
Cheers,
Stephen
On Tue, Aug 12, 2008 at 7:21 AM, kalle saas <[EMAIL PROTECTED]> wrote:
> Hey,
>
> to bad i don't figured it out yet :(.
>
> but maybe someone can help me understand the problem or how it works...
>
> the extension works by analyzing the domain. how can i let me show what
> domain the extesnion find ?
>
> in the explanation for "How To Host Multiple Websites by using mod proxy"
>
> <VirtualHost ServerIP:80>
> ServerName www.anotherwebsite.com
> ProxyPass / http://www.yourradiantinstall.com/radiant
> </VirtualHost>
>
> on nginx i have:
>
> upstream cannesdepetrol {
> server 127.0.0.1:8090;
> server 127.0.0.1:8091;
> }
>
> server {
> # port to listen on. Can also be set to an IP:PORT
> listen 80;
> # sets the domain[s] that this vhost server requests for.
> server_name cannesdepetrol.de www.cannesdepetrol.de de.cannesdepetrol.de
> en.cannesdepetrol.de;
> ...
>
> location / {
> ...
> if (!-f $request_filename) {
> proxy_pass http://cannesdepetrol;
> break;
> }
> ...
> }
>
> i tried to split every subdomain and give it its own server, but it doesent
> work out.
>
> Would be nice if anyone has an idea or could give me a direction.
>
> regards,
> kalle
>
>
>
>
> Am 07.08.2008 um 10:35 schrieb kalle saas:
>
> Hey guys,
>>
>> maybe somebody can help me with my problem:
>> i have ha multilanguage radiant site running at:
>> http://cannesdepetrol.de/
>>
>> it schould be in german at this domain:
>> http://de.cannesdepetrol.de/ and in english: http://en.cannesdepetrol.de/
>>
>> as you can see it doesn't work :( but with the same radiant setup, but
>> with youst one mongrel running ( script/server -e production ) at:
>> http://de.feedyourflat.com:3000/ and http://en.feedyourflat.com:3000/
>> it works...
>>
>> i have a mongrel cluster and nginx running with the
>> http://cannesdepetrol.de/ site.
>>
>> any suggestions ??
>>
>> regards,
>> kalle
>>
>> the nginx config:
>> http://pastie.org/249048
>>
>> mongrel config:
>> http://pastie.org/249049
>>
>> _______________________________________________
>> Radiant mailing list
>> Post: [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant