Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Create Hostheader with ASP

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS and dBase Plus  
Author Message
spam_just1code

External


Since: Feb 09, 2004
Posts: 41



(Msg. 1) Posted: Thu Feb 12, 2004 4:29 pm
Post subject: Create Hostheader with ASP
Archived from groups: microsoft>public>inetserver>asp>general, others (more info?)

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

Cheers,
DK

 >> Stay informed about: Create Hostheader with ASP 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 2) Posted: Thu Feb 12, 2004 10:56 pm
Post subject: Re: Create Hostheader with ASP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
<spam_just1coder.RemoveThis@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:

<a style='text-decoration: underline;' href="http://www.adsi4nt.com/" target="_blank">http://www.adsi4nt.com/</a>

Jeff<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Create Hostheader with ASP 
Back to top
Login to vote
spam_just1code

External


Since: Feb 09, 2004
Posts: 41



(Msg. 3) Posted: Thu Feb 12, 2004 10:56 pm
Post subject: Re: Create Hostheader with ASP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

So, just using ADSI I should be able to do it... Smile

Jeff Cochran wrote:
 > On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
 > <spam_just1coder.DeleteThis@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:
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.adsi4nt.com/</font" target="_blank">http://www.adsi4nt.com/</font</a>>
 >
 > Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Create Hostheader with ASP 
Back to top
Login to vote
pblse2

External


Since: Nov 23, 2003
Posts: 22



(Msg. 4) Posted: Fri Feb 13, 2004 12:04 am
Post subject: Re: Create Hostheader with ASP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <jcochran.nospam.TakeThisOut@naplesgov.com> skrev i meddelandet news:402cda45.83945547@msnews.microsoft.com...
 > On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
 > <spam_just1coder.TakeThisOut@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:
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.adsi4nt.com/</font" target="_blank">http://www.adsi4nt.com/</font</a>>
 >
 > Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Create Hostheader with ASP 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 5) Posted: Fri Feb 13, 2004 5:39 pm
Post subject: Re: Create Hostheader with ASP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 12 Feb 2004 21:04:30 +0100, "PL" <pblse2.DeleteThis@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" <jcochran.nospam.DeleteThis@naplesgov.com> skrev i meddelandet news:402cda45.83945547@msnews.microsoft.com...
  >> On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
  >> <spam_just1coder.DeleteThis@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:
  >>
<font color=green>  >> <a style='text-decoration: underline;' href="http://www.adsi4nt.com/</font" target="_blank">http://www.adsi4nt.com/</font</a>>
  >>
  >> Jeff
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Create Hostheader with ASP 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 6) Posted: Fri Feb 13, 2004 5:39 pm
Post subject: Re: Create Hostheader with ASP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 12 Feb 2004 15:01:40 -0500, Dave Karmens
<spam_just1coder.DeleteThis@yahoo.ca> wrote:

 >So, just using ADSI I should be able to do it... Smile

Yup. Of course, you have to trigger the ADSI somehow... Smile

Jeff


 >Jeff Cochran wrote:
  >> On Thu, 12 Feb 2004 13:29:24 -0500, Dave Karmens
  >> <spam_just1coder.DeleteThis@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:
  >>
<font color=green>  >> <a style='text-decoration: underline;' href="http://www.adsi4nt.com/</font" target="_blank">http://www.adsi4nt.com/</font</a>>
  >>
  >> Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Create Hostheader with ASP 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Hostheaders and SSL (once again) - Hi all, I'm sure you are pretty fed up with questions regarding hostheaders and SSL but I have one anyways and I'm thankfull for any response. I've got a webserver thats hosts serveral sites using hostheaders (the server only has one ipadress). I've..

IIS 6 Won't Create Web - I just got Windows 2003 Enterprise setup with AD and can't seem to create a new website in II6. From the MMC, after clicking NEW>WEBSITE and filling wizard steps, IIS 6 says "cannot create a file when that file already exists" Also, Frontpa...

Cannot Create new Web Site - I've got Win XP Pro SP1 and IIS 5.1. I want to create a new web site different from the Default Web Site. However There isn't any option "New Web Site" in the menus of the IIS, or any Web Site Creation Wizard. How can I create a new web site? ...

Create WebSite - I have windows xp pro installed with IIS version 5.1. It has the default web sites directory. My issue is that I want to create a new web site separate from default web sites however that option does not present itself. On other machines I simply right..

IIS Can't create log files - I have a site that has been running without issue for over a year. I am getting system log errors telling me that IIS can;t create the log. IIS Logging was unable to create the file D:\wwwroot\ftgcorp\W3SVC2\ex040124.log. All permissions look..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]