Greetings assimilator,
I have your answer for you, it relies on a file called 'default.asa'
which should go in the root folder of your website. Open your favorite
text editor, and place the following in it, save it as 'default.asa'
and FTP it to your root directory of your website:
<%
Dim page
Dim length
page = Request.ServerVariables("SCRIPT_NAME")
length = len(Request.ServerVariables("SCRIPT_NAME")) - 3
If right(page,3) = "htm" Then
Response.Redirect (left(page,length) & "asp")
End If
%>
This will tell the server, if it received a request for filename.htm
to attempt to forward it to filename.asp. The important thing to keep
in mind here, is to attempt as much as possible to preserve the
filename before the .
You can find more information about ASP programming at
http://www.w3schools.com/asp/default.asp
Hope you found this helpful, please remember to ask for clarification
if you need it before rating my answer.
Best regards,
mosquitohawk-ga |
Request for Answer Clarification by
assimilator-ga
on
15 Apr 2003 12:16 PDT
Mosquitohawk, thank-you for your response. I added this file just as
listed and it does not seem to work. To qualify that, I have
installed it on my local server, and am viewing the site through my
browser, but am looking at my local copy. Would this make any
difference? Shouldn't it work the same regardless of where it resides?
An additional clarification; I appreciate the referenced link,
however I could not find information specific to this file, could you
direct me to it?
Thanks again
|