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?

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?
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to