• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 774
  • Last Modified:

400 Bad Request

i have a wildcar on iis7 which handles all requests by global asa but the problem is
http://www.xxx.net/xx/1549/....MPG

....mpg is the file name but it returns bad request
when i change it to
a.a.a.a.mpg it works but when two dot makes a neighborhood it returns 400 bad request
0
CahitEy
Asked:
CahitEy
  • 2
1 Solution
 
Miguel OzSoftware EngineerCommented:
Can you run your valid and invalid urls here and post the response:
http://www.htmlhelp.org/tools/validator/
0
 
meverestCommented:
Hi,

"....mpg" is an invalid filename for windows filesystem.  You will need to use urlrewrite module to translate it to a valid filename first.

Cheers.
0
 
CahitEyAuthor Commented:



please check this link out :

http://www.file4share.net/download/1549/...MPG


and iis7 url rewrite module as given below

the url pattern :

http://www.file4share.net/download/(.*)/(.*)

and result :

http://www.file4share.net/operator/default.aspx?no={R:1}&ad={R:2}
0
 
CahitEyAuthor Commented:
Sorry my mistake you were right thanks
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now