/ Zope / Apsis / Pound Mailing List / Archive / 2009 / 2009-01 / Newbie question about URL stripping

[ << ] [ >> ]

[ Session Preversation Script / "Cullin J. ... ] [ ANNOUNCE: Pound - reverse proxy and load balancer ... ]

Newbie question about URL stripping
"Grzegorz Danecki" <g.danecki(at)gmail.com>
2009-01-09 13:43:20 [ FULL ]
Hello everybody

I'm trying to get pound working with my webservice, but strange thing
happens:

Pound strips everything after "?" char in the URL. When

/ccx/Boundary?wsdl

is called

pound is trying to retrieve and deliver

/ccx/Boundary

and throws the page with error, cause such URL does not exist.

In logfile, I can see this:

10.0.200.252 GET /ccx/Boundary?wsdl HTTP/1.1 - HTTP/1.1 404 /ccx/Boundary (
10.0.200.2:8888/- -> 10.0.200.53:8080) 0.04 sec


10.0.200.2 is the pound instance, 10.0.200.53 is backend server,
10.0.200.252 thats me.

Service part of the config file is:

Backend
Address 10.0.200.53
Port 8080
End

which works perfectly with everything else, except the "?" sign in the URL.
I tried also URL based session tracking as a workaround:

Session
Type URL
ID "wsdl"
TTL 300
END

but with the same result.

Any hint appreciated, thanks in advance!


Greg
Attachments:  
text.html text/html 1504 Bytes

Re: [Pound Mailing List] Newbie question about URL stripping
"Adam Lis" <adam.lis(at)gmail.com>
2009-01-09 13:50:42 [ FULL ]
2009/1/9 Grzegorz Danecki <g.danecki(at)gmail.com>:[...]

Hi!
[...]

Since this is not URL - this is Query String ;-)
Everything found after "?" sign in HTTP request is Query String.

Hope this helps you. I cannot write longer answer now.


AdamLis;

Re: [Pound Mailing List] Newbie question about URL stripping
chasm <chasm(at)gmx.de>
2009-01-09 13:53:24 [ FULL ]
Grzegorz Danecki schrieb:[...]
Hi,

normally the "?" character splits the requested location (directory or 
script-file) from the optional get parameters to the script/location 
that is called.

For example: "GET /login.php?user=test&password=test" which will call 
the login.php script with the username and password as parameter.
I think pound looks for the ? to find out the requested location.

Just my suggestion...

Greetings
chasm

MailBoxer