I am trying to get a C :: A application running in nginx fastcgi (debian 6.0) and use spawn-fcgi.
C :: The route is configured using $self->mode_param( path_info=> 1, param => 'rm' );
the problem is that any C: A app urls ( example.com/cities , example.com/profile/99 etc.) that I request, it always displays the home page, which example.com/index.pl does example.com/index.pl .
My nginx setup
server { listen 80; server_name example.com; root /var/www/example.com/htdocs; index index.pl index.html; location / { try_files $uri $uri/ /index.pl; } location ~ .*\.pl$ { include fastcgi_params;
I have successfully configured several php applications in a similar way.
in this case, however, I suspect that I do not pass the essential fastcgi_param until C :: A, which it requires.
What do you think?
source share