473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Create Hostheader with ASP

Is there a way to create a host header in IIS with an ASP?

Cheers,
DK
Jul 19 '05 #1
5 1688
On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
<sp*************@yahoo.ca> wrote:
Is there a way to create a host header in IIS with an ASP?


No. Well, not really. But with a combination of tools it's quite
easy. See:

http://www.adsi4nt.com/

Jeff
Jul 19 '05 #2
So, just using ADSI I should be able to do it... :)

Jeff Cochran wrote:
On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
<sp*************@yahoo.ca> wrote:

Is there a way to create a host header in IIS with an ASP?

No. Well, not really. But with a combination of tools it's quite
easy. See:

http://www.adsi4nt.com/

Jeff

Jul 19 '05 #3
PL

Sure there is:

Response.AddHeader "myheader", "myvalue"

Juast don't expect the browser to send it back again.

This is mostly used for sending headers that are not directly
exposed in the Response object such as for example the Pragma
header for some proxy servers:

Response.AddHeader "Pragma", "no-cache"

PL.

"Jeff Cochran" <jc*************@naplesgov.com> skrev i meddelandet news:40***************@msnews.microsoft.com...
On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
<sp*************@yahoo.ca> wrote:
Is there a way to create a host header in IIS with an ASP?


No. Well, not really. But with a combination of tools it's quite
easy. See:

http://www.adsi4nt.com/

Jeff

Jul 19 '05 #4
On Thu, 12 Feb 2004 21:04:30 +0100, "PL" <pb****@yahoo.se> wrote:

Sure there is:

Response.AddHeader "myheader", "myvalue"
That doesn't create a host header, it simply adds a header to the page
being served. He's talking about host headers in IIS used to redirect
requests to the proper site based on header information. That's an
IIS configuration.

Jeff

Juast don't expect the browser to send it back again.

This is mostly used for sending headers that are not directly
exposed in the Response object such as for example the Pragma
header for some proxy servers:

Response.AddHeader "Pragma", "no-cache"

PL.

"Jeff Cochran" <jc*************@naplesgov.com> skrev i meddelandet news:40***************@msnews.microsoft.com...
On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
<sp*************@yahoo.ca> wrote:
>Is there a way to create a host header in IIS with an ASP?


No. Well, not really. But with a combination of tools it's quite
easy. See:

http://www.adsi4nt.com/

Jeff


Jul 19 '05 #5
On Thu, 12 Feb 2004 15:01:40 -0500, Dave Karmens
<sp*************@yahoo.ca> wrote:
So, just using ADSI I should be able to do it... :)
Yup. Of course, you have to trigger the ADSI somehow... :)

Jeff

Jeff Cochran wrote:
On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
<sp*************@yahoo.ca> wrote:

Is there a way to create a host header in IIS with an ASP?

No. Well, not really. But with a combination of tools it's quite
easy. See:

http://www.adsi4nt.com/

Jeff


Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: BrianO | last post by:
I have some code downloaded from MSDN which creates the Web Site and Application Pool. But I can not see where to put the Application Pool Identity and corresponding password. Also, in the web site...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.