Page 1 of 1

redirecting old asp to new pages on linux

PostPosted: Sat Jun 15, 2013 11:59 am
by MikeD
Hi,

I recently joined the Canadian Webhosting family and moved my sites to a linux based server since I was finding I needed more of the PHP elements than the ASP elements I was using on my old server. I've had my sites up for a while, and have sites that have linked into specific pages of my one site using hte old .asp extension. Is there a way I can redirect incoming links to the old filename to the new .htm filename on the Linux server?

Thanks in advance for your advice,

Mike

Re: redirecting old asp to new pages on linux

PostPosted: Sat Jun 29, 2013 3:12 am
by Ray
Mike,

Normally Apache (default webserver in Linux) doesn't support .asp extension. There are ways by which we re-configure Apache for .asp support, but this won't work 100%. Only if Apache can 'recognize' a .asp page, can it redirect the pages to say .htm files.

So in this case, such a redirection from .asp to other extensions is not possible. You may need to check with your developer and recode such entries to proper file extensions.