# Nginx and mozilla weave

**URL:** <https://www.ruby-forum.com/t/nginx-and-mozilla-weave/184063>\
**Category:** NGINX\
**Created:** [February 24, 2010, 2:42pm UTC](https://www.ruby-forum.com/t/nginx-and-mozilla-weave/184063 "2010-02-24T14:42:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfafa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e79b87/32.png) [@Alfafa](https://www.ruby-forum.com/u/Alfafa)\
**Post date:** [February 24, 2010, 2:42pm UTC](https://www.ruby-forum.com/t/nginx-and-mozilla-weave/184063/1 "2010-02-24T14:42:44Z")

</div>

Hi

I’ve had the mozilla weave server running on lighttpd(with fastcgi)  
before and have som problems getting it to work on nginx

I have checked that I can get it to pass the .php pages to the  
php-fastcgi

I think it is the aliases from lighttpd I cannot get working in nginx  
when using php

The weave server needs this in the syntax of

apache:  
Alias /1.0 /var/www/weave.1mx.dk/server/0.5/index.php  
Alias /user/1 /var/www/weave.1mx.dk/server/user/1/index.php

lighttpd:  
alias.url = ( “/1.0” =\> “/var/www/weave.1mx.dk/server/0.5/index.php” )  
alias.url += ( “/user/1” =\>  
“/var/www/weave.1mx.dk/server/user/1/index.php” )

Both configured in a namebased vhost

I have made this with nginx, but doesn’t seem to work, and right now I  
am very confused about how to proceed  
server {  
listen 443;  
server\_name weave.1mx.dk;  
root /var/www/weave.1mx.dk;  
access\_log /var/log/nginx/weave.access.log;  
error\_log /var/log/nginx/weave.error.log;  
keepalive\_timeout 70;  
ssl on;  
ssl\_certificate /etc/nginx/server.pem;  
ssl\_certificate\_key /etc/nginx/server.pem;  
ssl\_protocols SSLv3 TLSv1;  
ssl\_ciphers HIGH:!ADH:!MD5;  
location /1.0 {  
alias /var/www/weave.1mx.dk/server/0.5/index.php;  
fastcgi\_pass 127.0.0.1:8000;  
fastcgi\_index index.php;  
fastcgi\_param SCRIPT\_FILENAME  
/var/www/weave.1mx.dk/server/0.5/index.php;  
include /etc/nginx/fastcgi\_params;  
}  
location /user/1 {  
alias /var/www/weave.1mx.dk/server/user/1/index.php;  
fastcgi\_pass 127.0.0.1:8000;  
fastcgi\_index index.php;  
fastcgi\_param SCRIPT\_FILENAME  
/var/www/weave.1mx.dk/server/user/1/index.php;  
include /etc/nginx/fastcgi\_params;  
}  
}

Thanks in advance 🙂

Posted at Nginx Forum:

> **[Nginx and mozilla weave](https://forum.nginx.org/read.php?2,56806,56806#msg-56806)**
>
> Hi I've had the mozilla weave server running on lighttpd(with fastcgi) before and have som problems getting it to work on nginx I have checked that I can get it to pass the .php pages to the php-fastcgi I think it is the aliases from lighttpd I...
