koha-win32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-win32] Direct URL to Intranet


From: Rob Weir
Subject: Re: [Koha-win32] Direct URL to Intranet
Date: Fri, 10 Aug 2007 21:58:15 -0400
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Hi Doris,
I assume you are on a windows platform, since you posted to the Koha-win32 list. If you used the windows install package, it configured your apache webserver to use "named-based virtual hosts". If you are interested, you can find definitions and more information on virtual hosts at http://httpd.apache.org/docs-2.0/vhosts/  But you don't need to read all that to get it working.

What you actually have running on your server are two different web sites identified by the names "opac" and "intranet" both running on the same IP address. Opac is the online catalog for your library patrons and intranet is for your librarian and administrative functions. Your client machines need to access the koha server using either the name "opac" or "intranet". Using the IP address by itself gets you to the server, but doesn't tell apache which of the two sites to serve up. The Opac site is the default, and that's why you get it when you use just the ip address.

The problem is, your client machines don't yet have a way to resolve those two names and thus find the server. What you need to do is provide name resolution to your client machines that will associate both "opac" and "intranet" with the IP address of the server. There are a couple ways you can do this. If you have a DNS server, you can add a couple entries for "opac" and "intranet" (or have your network administrator do it for you). Or you can add a couple entries to the hosts file on each client machine. That might be the simplest solution for right now to allow you to test.

On most of the newer windows operating systems, you will find a file named "hosts" in C:\WINDOWS\system32\drivers\etc. Open the hosts file in notepad and you should see a few lines of comments and then the entry:

    127.0.0.1       localhost

Just add two more lines to the end of this file to link your server IP with "opac" and "intranet". For example, if your server IP is 192.168.10.10, you would add:

    192.168.10.10   opac
    192.168.10.10   intranet
 
Save the file, open your browser, and type opac or intranet for the address, and you should be on your way. (If not, let me know. There are a couple browser settings that might affect your connection. Be sure to let me know what version of windows and what browser you are using.)

I hope this helps. Let me know how you make out or if you have any questions.

Rob

MKLEE wrote:
Hi all,

Can someone please tell me how can I access http://Intranet using direct URL
syntax, rather than virtual name? My Koha is running on a PC with IP
address, say, 192.168.1.100. The OPAC page can be accessed alternatively by
typing http://192.168.1.100 in browser, but what about the intranet page?

Thank you
Regards
Doris Lee
  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]