Welcome! Log In Create A New Profile

Advanced

Nginx and mozilla weave

February 24, 2010 08:42AM
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 :-)
Subject Author Posted

Nginx and mozilla weave

Alfafa February 24, 2010 08:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
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