Welcome! Log In Create A New Profile

Advanced

nginx configuration for SemanticScuttle???

mf1
August 07, 2015 05:50AM
Greetings,

I have several Web applications running on a Centos 6.6 server.
I am migrating them from Apache to Nginx. Apache is still
running, so I'm running nginx on port 81 for now.

The general setup is OK. I ALREAADY have Drupal 7 and Wordpress
sites served this way. The ONLY application that does not work
is SemanticScuttle (SC).

The closest I've got to make it "run" is with the configuration
below, turning clean urls off in the SC config file, and using
a rewrite rule created by winginx, when you give it the
..htaccess distributed with SC.

with that configuration, all these URLS work:

http://bookmarks.example.com:81/
http://bookmarks.example.com:81/
http://bookmarks.example.com:81/index/?page=N (N=2, 3, etc)

http://bookmarks.example.com:81/populartags

but all the others, don't, meaning that e.g.
http://bookmarks.example.com:81/tags.php/linux redirect to
http://bookmarks.example.com:81/populartags (which must be
some SC fallback URL, I guess...)

What next? What is happening? I know it's something stupid,
but right now I could really use some kind pointer to whatever
it is that I am missing, or on how to debug more effectively.

TIA,
Marco
here is the configuration of nginx for this virtual host:

server {
server_name bookmarks.example.com;
listen 81;
root /var/www/ntml/scuttle/www/;
index index.php;

location / {
rewrite ^/([^/.]+)/?(.*)$ /$1.php?$2 break;
include fastcgi_params;
fastcgi_pass unix:/tmp/phpfpm.sock;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_hide_header X-Powered-By;
fastcgi_index index.php;
}
}



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx configuration for SemanticScuttle???

mf1 August 07, 2015 05:50AM

SOLVED: nginx configuration for SemanticScuttle???

mf1 August 08, 2015 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 268
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready