Page is a not externally linkable
- Local
-- Foo
---- can i change asp to html


phranque - 4:57 am on Jul 30, 2012 (gmt 0)


you can use mod_rewrite to internally rewrite all the external requests for .asp(x) urls to the .html filenames used internally.
therefore you don't have to change urls.

just make sure you also externally redirect any .html url requests to their .asp(x) counterparts.


actually you could keep the filenames the same and configure apache to send .asp(x) files as text/html using the mod_mime module AddType Directive:
http://httpd.apache.org/docs/current/mod/mod_mime.html#addtype


Addtype text/html .asp .aspx



this thread might be useful - ASP file names:
http://www.webmasterworld.com/apache/3607678.htm [webmasterworld.com]


there are a couple of options to run ASP emulation under apache but i have no experience with this.


Thread source:: http://www.webmasterworld.com/foo/4479882.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com