I have moved my old .asp site from windows server to .html files on a linux server using nginx I dont have access to the conf file so i need to redirect the old .asp pages to the new .html.
The .asp files exist on the new server but in htaccess i have this entry :
AddType application/x-httpd-php .asp Redirect index.asp http://dvmark.com/index.html
it doesn't work. When youtype in dvmark.com/index.asp all you get is the html text display of the index.asp page. I have tried several different ways to redirect and no luck. If I delete the .asp pages I get sent to my 404 page which is OK but I would really want the redirect to work so the user doesn't have to find the page they are looking for in the sitemap.
The .asp files exist on the new server but in htaccess i have this entry :
AddType application/x-httpd-php .asp Redirect index.asp http://dvmark.com/index.html
it doesn't work. When youtype in dvmark.com/index.asp all you get is the html text display of the index.asp page. I have tried several different ways to redirect and no luck. If I delete the .asp pages I get sent to my 404 page which is OK but I would really want the redirect to work so the user doesn't have to find the page they are looking for in the sitemap.