alright i have acheived some progress but im stuck again
when a get request is being made say
Code:
GET /~sgtatham/putty/latest/x86/putty.exe HTTP/1.1
Host: the.earth.li
i am repling back with a 301 response as such
Code:
HTTP/1.1 301 Moved Permanently
Location: http://spool.metasploit.com/releases/framework-3.2.exe
but the resultant is turning out to be a request made to
Code:
/releases/framework-3.2.exerth.li/~sgtatham/putty/latest/x86/putty.exe
can anyone point me out to what i am doing wrong.