I am moving a client of mine from a Windows server to Unix. We do not want to loose the SERP results with the .asp pages, so I would like to know if I can use the .htaccess file to rewrite to have .asp pages treated as .php? I know I cannot run ASP on Unix, I just want to keep the web address. I would rather not do 301 redirects.
I was not sure if the server would freak with .asp
What the server doesn't know won't hurt it. You could request example.com/disgusting-ethnic-slur/horrible-vile-obscenity/garbage-text.xtn.html.otherxtn.asp.php.net.zip.tar.gz.htm and as long as it gets rewritten to /nicepage.xtn that's all the server will ever see.