| Author |
VirtualHost not working on WindowsNT
|
|
| Lee Timms 2004-02-20, 5:33 am |
| Hello, I am trying to set up VirtualHost's using the same IP and different
domain names. This is being attempted on a WindowsNT Server machine and no
matter what I do it does not want to work. It seems that the VirtualHost's
are not being processed. Has anyone seen this problem and if so what did you
do to resolve the issue.
| |
| Lee Timms 2004-02-20, 5:33 am |
| The version of websphere is 3.5
"Lee Timms" <lee@dontquoteme.com> wrote in message
news:c15j9q$3koi$1@news.boulder.ibm.com...
> Hello, I am trying to set up VirtualHost's using the same IP and different
> domain names. This is being attempted on a WindowsNT Server machine and no
> matter what I do it does not want to work. It seems that the VirtualHost's
> are not being processed. Has anyone seen this problem and if so what did
you
> do to resolve the issue. >
>
| |
| Ken Hygh 2004-02-20, 11:33 pm |
| Lee Timms wrote:
> Hello, I am trying to set up VirtualHost's using the same IP and different
> domain names. This is being attempted on a WindowsNT Server machine and no
> matter what I do it does not want to work. It seems that the VirtualHost's
> are not being processed. Has anyone seen this problem and if so what did you
> do to resolve the issue.
>
>
What have you configured? What doesn't work?
Ken
| |
| Ray McVay 2004-02-22, 5:33 am |
| Lee Timms wrote:
> The version of websphere is 3.5
> "Lee Timms" <lee@dontquoteme.com> wrote in message
> news:c15j9q$3koi$1@news.boulder.ibm.com...
>
>
> you
>
>
>
We run that way with no problem. You can't do it just from your WAS box,
though, you have to set those names up correctly in your DNS, too.
| |
| Lee Timms 2004-02-23, 8:33 am |
| What is not working is the directory redirection that is expected from the
virtual host setup. What I get is sent to the same root directory as the
main site.
The following is the VirtualHost block that should cause the redirect but I
keep getting sent to the main sites root directory.
<VirtualHost *>
ServerName www.dontquoteme.tv
ServerAlias dontquoteme.tv
DocumentRoot E:/DontQuoteMe/htdocs
</VirtualHost>
"Ken Hygh" <kenhygh@nc.rr.com> wrote in message
news:c17h34$6164$1@news.boulder.ibm.com...
> Lee Timms wrote:
different[color=blue]
no[color=blue]
VirtualHost's[color=blue]
you[color=blue]
>
> What have you configured? What doesn't work?
>
> Ken
>
| |
| Sunit Patke 2004-02-23, 8:33 am |
| If you want to use different DocumentRoot for different virtual hosts, then
why are you using <VirtualHost *>?
Sunit
"Lee Timms" <lee@dontquoteme.com> wrote in message
news:c1dqpn$76ve$1@news.boulder.ibm.com...
> What is not working is the directory redirection that is expected from the
> virtual host setup. What I get is sent to the same root directory as the
> main site.
> The following is the VirtualHost block that should cause the redirect but
I
> keep getting sent to the main sites root directory.
> <VirtualHost *>
> ServerName www.dontquoteme.tv
> ServerAlias dontquoteme.tv
> DocumentRoot E:/DontQuoteMe/htdocs
> </VirtualHost>
> "Ken Hygh" <kenhygh@nc.rr.com> wrote in message
> news:c17h34$6164$1@news.boulder.ibm.com...
> different
and[color=blue]
> no
> VirtualHost's
did[color=blue]
> you
>
>
| |
| Aaron W Morris 2004-02-23, 12:33 pm |
|
Lee Timms wrote:
> What is not working is the directory redirection that is expected from the
> virtual host setup. What I get is sent to the same root directory as the
> main site.
> The following is the VirtualHost block that should cause the redirect but I
> keep getting sent to the main sites root directory.
> <VirtualHost *>
> ServerName www.dontquoteme.tv
> ServerAlias dontquoteme.tv
> DocumentRoot E:/DontQuoteMe/htdocs
> </VirtualHost>
> "Ken Hygh" <kenhygh@nc.rr.com> wrote in message
> news:c17h34$6164$1@news.boulder.ibm.com...
>
>
> different
>
>
> no
>
>
> VirtualHost's
>
>
> you
>
>
>
>
Do you have a "NameVirtualHost" directive in your config?
--
Aaron W Morris <aaronmorris@mindspring.com> (decep)
| |
| Lee Timms 2004-02-24, 12:33 am |
| It is my belief that the virtual will do a reverse lookup on the ServerName
in this Virtual Host block. From my understanding when using NameVirtualHost
the server always does a reverse lookup. By the way since I did not show it
in the code snippet I have "NameVirtualHost" set up in my configuration
file.
"Sunit Patke" <nospam.patke@nospam.com> wrote in message
news:c1ds38$3i3e$1@news.boulder.ibm.com...
> If you want to use different DocumentRoot for different virtual hosts,
then
> why are you using <VirtualHost *>?
>
> Sunit
>
> "Lee Timms" <lee@dontquoteme.com> wrote in message
> news:c1dqpn$76ve$1@news.boulder.ibm.com...
the[color=blue]
but[color=blue]
> I
> and
> did
>
>
| |
| Lee Timms 2004-02-24, 12:33 am |
| Yes I do have "NameVirtualHost *" set up in my httpd.conf file.
"Aaron W Morris" <aaronmorris@mindspring.com> wrote in message
news:c1eaif$8bau$1@news.boulder.ibm.com...
>
>
> Lee Timms wrote:
>
the[color=blue]
but I[color=blue]
did[color=blue]
>
> Do you have a "NameVirtualHost" directive in your config?
>
> --
> Aaron W Morris <aaronmorris@mindspring.com> (decep)
>
| |
| Jerrel Adcock 2004-02-24, 9:33 am |
| Lee,
Have you tried this with an ip address specified on NameVirtualHost and
<VirtualHost>?
Lee Timms wrote:
> It is my belief that the virtual will do a reverse lookup on the ServerName
> in this Virtual Host block. From my understanding when using NameVirtualHost
> the server always does a reverse lookup. By the way since I did not show it
> in the code snippet I have "NameVirtualHost" set up in my configuration
> file.
>
> "Sunit Patke" <nospam.patke@nospam.com> wrote in message
> news:c1ds38$3i3e$1@news.boulder.ibm.com...
>
>
> then
>
>
> the
>
>
> but
>
>
>
| |
| Lee Timms 2004-02-25, 12:33 pm |
| Yes I have tried that thanks for the help
"Jerrel Adcock" <no@email.given> wrote in message
news:c1gkmp$3g2o$1@news.boulder.ibm.com...[color=darkred]
> Lee,
>
> Have you tried this with an ip address specified on NameVirtualHost and
> <VirtualHost>?
>
>
> Lee Timms wrote:
ServerName[color=darkred]
NameVirtualHost[color=darkred]
it[color=darkred]
the[color=darkred]
|
|
|
|