I received two replies, one from Chris TeSelle and other from John
Dodge.
Both suggest to me to change obj.conf manually.
I follow John's advice, and it works fine.
Thanks all who replied to me.
"John P. Dodge" wrote:
>
> One thing about Netscape virtual servers is by default they don't provide
> for a unique document root. This screws up all kinds of things, especially
> search engines. Netscape claims that their default behavior is for
> backwards compatibility with older browsers (Yuck!).
>
> ###Existing server root spec in obj.conf:
> NameTrans fn="document-root" root="/site/webdata/htdocs"
>
> To create a viable virtual server add this to obj.conf and restart:
>
> ---------------------GOOD virtual server (ADD THESE LINES)---------------
> <Client urlhost="myserver.mycompany.com">
> NameTrans fn="document-root" root="/site/webdata/htdocs/myserver"
> </Client>
> ------------------------------------------------------------------------
>
> ---------------------BAD virtual server----------------
> This is what the GUI adds for a virtual server (THIS IS WRONG!!!):
>
> <Client urlhost="myserver.mycompany.com">
> NameTrans fn="home-page" path="newdesign/index.html"
> </Client>
> ----------------------------------------------------------------
>
> Hope this helps ....
>
> John P. Dodge
>
--- ORIGINAL QUESTION ----
> On Thu, 28 Oct 1999, Christian Pinheiro wrote:
>
> >
> > Hi there,
> >
> >
> > I'm running Netscape Enterprise Server 3.63 with Solaris 7 in my site,
> > and one problem is concerning me.
> > I searched all the http://help.netscape.com and NES newsgroups, but
> > nobody knows how to solve my (and others) problem.
> >
> > Imagine that I set up http://www.serverone.com as my primary server,
> > pointed to /htdocs (primary directory), and I want to set up
> > http://www.servertwo.com as a SW virtual server.
> >
> > I mapped correctly in my server www.servertwo.com -> /htdocs/server2/
> >
> > If I try to access http://www.servertwo.com, I access
> > /htdocs/server2/index.html, BUT
> > if I try to access http://www.servertwo.com/page.html, the server access
> > /htdocs/page.html
> >
> >
> > I found in help.netscape.org the 2 documents, which proves that
> > Netscape knows this problem.
> >
> > 1) The first one explains how to fix the problem.
> >
> > http://help.netscape.com/kb/corporate/990409-2.html
> >
> >
> > 2) The second explains that this problem only happens in NT.
> >
> > -----------------------------------------------------------
> > http://help.netscape.com/relnotes/es36.htm#fixed
> >
> >
> > NT ONLY:
> >
> > 18175, 19366. When you create a software virtual server, and want
> > it to be accessible to browsers that do not send the "Host:" header, you
> > must keep the documents for each virtual server
> > in a subdirectory of the document root and fully qualify the
> > links to them, or you must include a <BASE
> > HREF="{name_of_subdirectory}"> tag at the top of the home page.
> >
> > 323177. When creating software virtual servers, you cannot enter
> > a backslash (\) into the Home Page field. If you do, you receive an
> > error, you must manually edit the obj.conf file and
> > Save and Apply. To avoid this problem, enter a forward slash (/)
> > instead of a backslash.
> >
> > -----------------------------------------------------------
> >
> > But I think it's not true.
> >
> > Any help you be appreciated.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:31 CDT