Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't get GET / query_string params to work

Status
Not open for further replies.

inlandpac

Programmer
Jun 18, 2000
235
US
How do I make it so that my server will allow query strings to be passed to files like swf, images, etc.

When I go to a file such as /dir/file.swf?name=value I get a 404. If I remove the ?name=value the file loads just fine.

What to do!!!!!!!!!
 
I something translating .swf or image urls before they reach apache? Any rewrite rules?

What does the uri/querystring look like in the access_log?
 
This is an interesting one. The access logs show plenty of status 200s for this url but then there are periods of 404s

chat.l-word.com xxx.xxx.xxx.xx - [16/Mar/2006:17:09:48 -0600] "GET /main.swf?gatewayURL=http://chat.l-word.com//gateway.php?sessionname=1142550584 HTTP/1.1" "-" 404 300 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"

and they are intermingled, so I am clueless as to why this is happening. This is a load balanced solution with two web servers. I've confirmed that the configurations between the two are identical.
 
Why would we get a mixture of 200 AND 404 responses? I would think if it was purely the fact that the value in the request was not url encoded, we would always get a 404?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top