I need to get all parameters from the request including what comes after \"#\". example: request: http://myserver/m#q=abc I need my server to get all parameters after \"#\"
You can't do this. The URI spec says:
A reference to a particular part of a document may, including the fragment identifier, look like
http://www.myu.edu/org/admin/people#andyin which case the string "#andy" is not sent to the server, but is retained by the client and used when the whole object had been retrieved.