Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP 3.0 - Migration to Windows 2003 Question

Reply
Thread Tools

ASP 3.0 - Migration to Windows 2003 Question

 
 
Don Miller
Guest
Posts: n/a
 
      08-22-2006
I have a ASP 3.0 web application that uses IIS 5.0 with W2K (with parent
paths enabled). In my research about migration to IIS6 with W2003 it says
that you need to change every INCLUDE FILE= to INCLUDE VIRTUAL=.

I call an ASP page at the root of the website and that ASP file has an
include that also is at the root, and the include is like this:

<!-- INCLUDE FILE="copyrightstuff.htm" -->

So what I've read say that this has to be changed to VIRTUAL like this:

<!-- INCLUDE VIRTUAL="/websitename/copyrightstuff.htm" -->

I could do this for one website that has one name listed in IIS. However, my
website code was designed to work on many different websites, each with
different domain names. It seems like a LOT of work to have to change ALL
the includes to accommodate the name given to the site in IIS.

Can I avoid all of these changes to INCLUDE files in 2003 by just allowing
parent paths for my applications?

Or, do I have to pick one and standardize the application name of the
website used in IIS? (where before the application name didn't matter at
all)

Thanks for the help.


 
Reply With Quote
 
 
 
 
Don Miller
Guest
Posts: n/a
 
      08-22-2006
Doesn't anyone use "classic" ASP with Windows 2003?

"Don Miller" <> wrote in message
news:...
> I have a ASP 3.0 web application that uses IIS 5.0 with W2K (with parent
> paths enabled). In my research about migration to IIS6 with W2003 it says
> that you need to change every INCLUDE FILE= to INCLUDE VIRTUAL=.
>
> I call an ASP page at the root of the website and that ASP file has an
> include that also is at the root, and the include is like this:
>
> <!-- INCLUDE FILE="copyrightstuff.htm" -->
>
> So what I've read say that this has to be changed to VIRTUAL like this:
>
> <!-- INCLUDE VIRTUAL="/websitename/copyrightstuff.htm" -->
>
> I could do this for one website that has one name listed in IIS. However,

my
> website code was designed to work on many different websites, each with
> different domain names. It seems like a LOT of work to have to change ALL
> the includes to accommodate the name given to the site in IIS.
>
> Can I avoid all of these changes to INCLUDE files in 2003 by just allowing
> parent paths for my applications?
>
> Or, do I have to pick one and standardize the application name of the
> website used in IIS? (where before the application name didn't matter at
> all)
>
> Thanks for the help.
>
>



 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      08-22-2006
Yes, i've just never run into your problem.
We have only intranet applications so we have Parent Paths enabled for
all applications. I'm not sure this is a good idea security-wise for
internet applications.

Don Miller wrote:
> Doesn't anyone use "classic" ASP with Windows 2003?
>
> "Don Miller" <> wrote in message
> news:...
>> I have a ASP 3.0 web application that uses IIS 5.0 with W2K (with
>> parent paths enabled). In my research about migration to IIS6 with
>> W2003 it says that you need to change every INCLUDE FILE= to INCLUDE
>> VIRTUAL=.
>>
>> I call an ASP page at the root of the website and that ASP file has
>> an include that also is at the root, and the include is like this:
>>
>> <!-- INCLUDE FILE="copyrightstuff.htm" -->
>>
>> So what I've read say that this has to be changed to VIRTUAL like
>> this:
>>
>> <!-- INCLUDE VIRTUAL="/websitename/copyrightstuff.htm" -->
>>
>> I could do this for one website that has one name listed in IIS.
>> However, my website code was designed to work on many different
>> websites, each with different domain names. It seems like a LOT of
>> work to have to change ALL the includes to accommodate the name
>> given to the site in IIS.
>>
>> Can I avoid all of these changes to INCLUDE files in 2003 by just
>> allowing parent paths for my applications?
>>
>> Or, do I have to pick one and standardize the application name of the
>> website used in IIS? (where before the application name didn't
>> matter at all)
>>
>> Thanks for the help.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question regarding python2.5 migration from windows xp to windows 7 python_tsp Python 2 10-14-2010 10:19 PM
migration issue with ASP on win 2003 Chris ASP General 3 05-05-2005 01:46 PM
Classic ASP to ASP.Net migration question Gary Morris ASP .Net 3 10-16-2004 11:44 PM
Simple ASP.NET Forms Question ASP Migration jm ASP .Net 3 01-09-2004 03:40 PM
Migration to Windows 2003, Error Messages not shown in Browser Michael G. Schneider ASP General 3 11-26-2003 09:56 PM



Advertisments