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: http://forum.nginx.org/read.php?2,56806,56806#msg-56806