two domains = one apache??

two domains = one apache??

am 05.09.2007 20:47:16 von Thomas Bruns

Hello NG

i have an problem on a HPUX 11.i Server... Apache 2.0.59 is running...

in a browser on an another workstation the ip 192.168.11.5/Wiki is displayed
correctly...

when i tried in a browser "wiki" or "www.wiki.de" the apache page is
display :-(


in /etc/hosts:
192.168.11.5 wiki www.wiki.de

in httpd.conf

Listen 80


NameVirtualHost *:80


DocumentRoot /opt/hpws/apache/htdocs/wiki
ServerName www.wiki.de




I don't know where the problem is :-((((

best wishes

Thomas

Re: two domains = one apache??

am 05.09.2007 21:30:41 von Thomas Bruns

Thomas Bruns wrote:

> Hello NG
>
> i have an problem on a HPUX 11.i Server... Apache 2.0.59 is running...
>
> in a browser on an another workstation the ip 192.168.11.5/Wiki is
> displayed correctly...
>
> when i tried in a browser "wiki" or "www.wiki.de" the apache page is
> display :-(
>
>
> in /etc/hosts:
> 192.168.11.5 wiki www.wiki.de
>
> in httpd.conf
>
> Listen 80
>
>
> NameVirtualHost *:80
>
>
> DocumentRoot /opt/hpws/apache/htdocs/wiki
> ServerName www.wiki.de
>
>

>
>
> I don't know where the problem is :-((((
>
> best wishes
>
> Thomas
something more

the log tells me

that the documentroot /opt/hpws/apache/htdocs/wiki/wiki wrong is

Re: two domains = one apache??

am 05.09.2007 23:52:22 von shimmyshack

On Sep 5, 8:30 pm, Thomas Bruns wrote:
> Thomas Bruns wrote:
> > Hello NG
>
> > i have an problem on a HPUX 11.i Server... Apache 2.0.59 is running...
>
> > in a browser on an another workstation the ip 192.168.11.5/Wiki is
> > displayed correctly...
>
> > when i tried in a browser "wiki" or "www.wiki.de" the apache page is
> > display :-(
>
> > in /etc/hosts:
> > 192.168.11.5 wikiwww.wiki.de
>
> > in httpd.conf
>
> > Listen 80
>
> > NameVirtualHost *:80
>
> >
> > DocumentRoot /opt/hpws/apache/htdocs/wiki
> > ServerNamewww.wiki.de
>
> >

>
> > I don't know where the problem is :-((((
>
> > best wishes
>
> > Thomas
>
> something more
>
> the log tells me
>
> that the documentroot /opt/hpws/apache/htdocs/wiki/wiki wrong is- Hide quoted text -
>
> - Show quoted text -

what if you do?

http://www.wiki.de/Wiki
http://wiki/Wiki
http://192.168.11.5/Wiki

and what if you do
http://192.168.11.5

and where is the documentroot?
/opt/hpws/apache/htdocs/wiki/wiki
or
documentroot /opt/hpws/apache/htdocs/wiki

or

documentroot /opt/hpws/apache/htdocs/wiki/Wiki
or
documentroot /opt/hpws/apache/htdocs/Wiki/Wiki
or
documentroot /opt/hpws/apache/htdocs/Wiki/wiki

?