two domains = one apache??

This is a discussion on two domains = one apache?? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello NG i have an problem on a HPUX 11.i Server... Apache 2.0.59 is running... in a ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2007
Thomas Bruns
 
Posts: n/a
Default two domains = one apache??

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

<VirtualHost *:80>
DocumentRoot /opt/hpws/apache/htdocs/wiki
ServerName www.wiki.de

</VirtualHost>


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

best wishes

Thomas

  #2 (permalink)  
Old 09-05-2007
Thomas Bruns
 
Posts: n/a
Default Re: two domains = one apache??

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
>
> <VirtualHost *:80>
> DocumentRoot /opt/hpws/apache/htdocs/wiki
> ServerName www.wiki.de
>
> </VirtualHost>
>
>
> 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
  #3 (permalink)  
Old 09-05-2007
shimmyshack
 
Posts: n/a
Default Re: two domains = one apache??

On Sep 5, 8:30 pm, Thomas Bruns <newsgr...@donbruno.de> 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

>
> > <VirtualHost *:80>
> > DocumentRoot /opt/hpws/apache/htdocs/wiki
> > ServerNamewww.wiki.de

>
> > </VirtualHost>

>
> > 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

?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0