Everything is fine, for example I have urls like /user/123/action/?save=1 and they work. Looks like my dispatch.fcgi also changed: ================================ #!/usr/bin/env perl use Dancer ':syntax'; use FindBin '$RealBin'; use Plack::Handler::FCGI; set apphandler => 'PSGI'; set environment => 'production'; $ENV{SCRIPT_NAME} = ''; my $psgi = path($RealBin, '..', 'bin', 'app.pl'); my $app = do($psgi); die "Unable to read startup script: $@" if $@; my $server = Plack::Handler::FCGI->new(nproc => 1, detach => 1); $server->run($app); ================================ .htaccess: ================================ Options +ExecCGI DirectoryIndex /dispatch.fcgi RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !\.(swf)|(jpg)|(png)|(gif)$ RewriteRule ^(.+)$ /dispatch.fcgi/$1 [L,QSA] ================================ 04.06.2013 5:20, Henk van Oers пишет:
oeps, used wrong sender...
On Tue, 4 Jun 2013, Henk van Oers wrote:
On Tue, 4 Jun 2013, Nick Knutov wrote:
I think there is already my issue about it in github. I'm using this solution:
hook 'before' => sub { # when running under Apache/mod_fastcgi request->{env}->{SCRIPT_NAME} = ''; ... };
What about the query_string in your case?
Can you test that?
-- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130