Netware Webserver - Web search from different office

This is Interesting: Free IT Magazines  
Home > Archive > Netware Webserver > June 2005 > Web search from different office





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Web search from different office
JeffB

2005-06-15, 5:46 pm

Using NWSB6.5 SP3 in two offices. Seperate trees, etc.

How can I set up so users in OfficeA can search/download from OfficeB?

I have it set up in one office and withing the office it works great
(using file:/// for prefix).

I changed that to http:// and when I access from outside, it gives an
odd looking search page and says 'Virtual server not found'.

Is there a port that nees to be opened on FW? I have 443 open.

Also - when using the admin, I don't see any global settings. Just the
default virtual server, etc. (Indexing, Settings, Display Search Page).

thanks - Jeff
Anders Gustafsson

2005-06-15, 5:46 pm

JeffB,
> I have it set up in one office and withing the office it works great
> (using file:/// for prefix).
>
> I changed that to http:// and when I access from outside, it gives an
> odd looking search page and says 'Virtual server not found'.


And you have a webserver serving up those files?

> Is there a port that nees to be opened on FW? I have 443 open.
>
> Also - when using the admin, I don't see any global settings. Just the
> default virtual server, etc. (Indexing, Settings, Display Search Page).
>

Even if you hit the button that lets you select different sites?

- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)

Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement

Using VA 5.51 build 315 on Windows 2000 build 2195

JeffB

2005-06-15, 5:46 pm

Anders Gustafsson wrote:

> JeffB,
>
> And you have a webserver serving up those files?
>
> Even if you hit the button that lets you select different sites?
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2195


Maybe that's my problem. What's the 'procedure' for serving that up?
I was trying to access via https://<ip>/NSearch/SearchServlet. Am
running Apache2/Tomcat4.

As for global... me so lame. Didn't hover over the 'house' button
which usually means home (where I thought I was). That problem solved.
: )

thanks for the quick reply!
Anders Gustafsson

2005-06-15, 5:46 pm

JeffB,
> Maybe that's my problem. What's the 'procedure' for serving that up?
> I was trying to access via https://<ip>/NSearch/SearchServlet. Am
> running Apache2/Tomcat4.


Nope, that will not work. NSearch will not serve up your pages. You
need to configure Apache to do so. That also means you need to
configure authentication, unless you want all and sundry to have access
to your documents.

- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)

Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement

Using VA 5.51 build 315 on Windows 2000 build 2195

JeffB

2005-06-15, 5:46 pm

Anders Gustafsson wrote:

> JeffB,
>
> Nope, that will not work. NSearch will not serve up your pages. You
> need to configure Apache to do so. That also means you need to
> configure authentication, unless you want all and sundry to have
> access to your documents.
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2195


Where do I find doc to set up Apache for that?

And by 'set up authentication', would that be authentication by Apache
or NSearch?

Thanks for your help
Anders Gustafsson

2005-06-16, 2:45 am

JeffB,
> Where do I find doc to set up Apache for that?


http://www.novell.com/documentation...ta/a7hjvxo.html
http://httpd.apache.org/docs-2.0

Basically, you need to change the document root in httpd.conf to point
to the root where your documents are.

> And by 'set up authentication', would that be authentication by Apache
> or NSearch?
>

Apache.

- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)

Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement

Using VA 5.51 build 315 on Windows 2000 build 2195

JeffB

2005-06-16, 5:45 pm

Anders Gustafsson wrote:

> JeffB,
>
> http://www.novell.com/documentation...ta/a7hjvxo.html
> http://httpd.apache.org/docs-2.0
>
> Basically, you need to change the document root in httpd.conf to
> point to the root where your documents are.
>
> Apache.
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2195


Sorry for my newbie-ness, but if I change the path to doc root, won't
that break the web I'm serving up now?

Can I add a search box or something to that page? It's just a basic
page with links to WA and NS.

Of do I create another web instance altogether?

thanks - Jeff

Anders Gustafsson

2005-06-16, 5:45 pm

JeffB,
> Sorry for my newbie-ness, but if I change the path to doc root, won't
> that break the web I'm serving up now?


Yes.

> Can I add a search box or something to that page? It's just a basic
> page with links to WA and NS.
>
> Of do I create another web instance altogether?
>

Probably the cleanest. You see, this is the scoop:

When NSearch indexes a local file system it keeps track of the path
from whatever root you search from. Let's just assume for simplicity
that you index docs under vol1:data/docs, under that you have a dir
called winnieand a file called pooh.doc. Thus the path is
winnie/pooh.doc.

When you define a local file system index in NSearch you have the
option to define the starting URL. Assume that you put in:
http://mydocumentserver.com.

You then create a separate instance of Apache or a virtual host (see
www.apache.org). The document root is vol1:data/docs, so that when your
user clicks on the link http://mydocumentserver.com/winnie/pooh.doc in
NSearch, he gets the file.

Now, the problem is that all and sundry can now see all files under
vol1:data/docs. That may or may not be desireable. Thus I suggest that
you a) set up Apache not to create indexes automatically, ie the user
needs to know the full path to the file and b) set up Apache
authentication. You should also use https:

- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)

Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement

Using VA 5.51 build 315 on Windows 2000 build 2195

Jeffb@nomail.com

2005-06-16, 8:45 pm

> JeffB,
>
> Yes.
>
> Probably the cleanest. You see, this is the scoop:
>
> When NSearch indexes a local file system it keeps track of the path
> from whatever root you search from. Let's just assume for simplicity
> that you index docs under vol1:data/docs, under that you have a dir
> called winnieand a file called pooh.doc. Thus the path is
> winnie/pooh.doc.
>
> When you define a local file system index in NSearch you have the
> option to define the starting URL. Assume that you put in:
> http://mydocumentserver.com.
>
> You then create a separate instance of Apache or a virtual host (see
> www.apache.org). The document root is vol1:data/docs, so that when your
> user clicks on the link http://mydocumentserver.com/winnie/pooh.doc in
> NSearch, he gets the file.
>
> Now, the problem is that all and sundry can now see all files under
> vol1:data/docs. That may or may not be desireable. Thus I suggest that
> you a) set up Apache not to create indexes automatically, ie the user
> needs to know the full path to the file and b) set up Apache
> authentication. You should also use https:
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2195
>



Thanks Anders - that's what I needed.

last questions:

- Is Apache security sperate from eDir?

- Is that covered in NW Wed manual or just Apache?

really appreciate the help!
Anders Gustafsson

2005-06-17, 7:45 am

,
> - Is Apache security sperate from eDir?


Apache can handle a number of different security/authentication
methods. EDir is one.

> - Is that covered in NW Wed manual or just Apache?
>

See:
http://support.novell.com/techcente...na20010202.html

- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)

Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement

Using VA 5.51 build 315 on Windows 2000 build 2195

JeffB

2005-06-17, 5:45 pm

Anders Gustafsson wrote:

> ,
>
> Apache can handle a number of different security/authentication
> methods. EDir is one.
>
> See:
> http://support.novell.com/techcente...na20010202.html
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2195



perfect - thanks!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com