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} = '';
...
};
04.06.2013 3:00, Henk van Oers пишет:
> I am building an app with Dancer::Plugin::Auth::Extensible
> Apache deployment like this:
> AddHandler fastcgi-script .fcgi
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ /dispatch.fcgi/$1 [QSA,L]
>
> I do not want the SCRIPT_NAME
> but I do want the query_string "?foo=bar"
> in the return_url.
>
> Changing "request->path" into "request->request_uri"
> does it for me.
>
> Is this the "right" patch?
--
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users