[Koha] Intranet module cannot be accessed in the network

arnab arnabsadhukhan at kolkatacdac.in
Tue Jan 16 20:31:12 NZDT 2007


Dear All,

I've installed Koha in a machine "A" ( IP - 192.168.128.80 ).
Now I'm trying to access the modules INTRANET and OPAC from another machine
"B" (IP - 192.168.128.66).

When writing "http:\\192.168.128.80" in the browser I can easily access the
OPAC module but cannot access the INTRANET module. 

As I don't have a DNS server, so I've put the following two lines 
192.168.128.80  opac
192.168.128.80  intranet 
in the host file of the machine "B". I can access the OPAC module but what
should be written in the browser 
of the machine "B" to access the INTRANET module. 

I've tried with "http:\\192.168.128.80\intranet"... but it is not working.

With Regards,

Arnab 

Rob Weir-2 wrote:
> 
> 
> 
> 
>   
>   
> 
> 
> Hi Arnab, 
> Your apache configuration file already has two named-based virtual
> hosts configured for you. You do not need to make any changes to the
> configuration files unless you want to use different ports. 
> 
> For
> name-based virtual hosts to work, Windows name-resolution needs to be
> able to map both of the virtual host names (OPAC and INTRANET) to the
> IP address of your Koha server. If you have a DNS server, you should
> add records to your DNS server so both names OPAC and INTRANET resolve
> to the IP address of your koha server. 
> 
> If you don't have a DNS server, then you can get name resolution by
> adding entries to your hosts file. On the workstation where you want to
> run koha, edit C:\WINDOWS\system32\drivers\etc\hosts and add a line for
> each virtual host. For example, if the koha server has an IP address of
> 192.168.128.80, add the following two lines to your hosts file: 
> 
> 192.168.128.80       opac           # Koha Library Software OPAC    
> 192.168.128.80       intranet       # Koha Library Software INTRANET 
> 
> Some of this information is on the wiki at
> http://wiki.koha.org/doku.php?id=kohawintroubleshoot 
> 
> Rob 
> 
> arnab wrote:
> 
>   Dear Henri,
> 
> Could you please tell me how to create another virutual host for the
> INTRANET module or set another port. In the koha-http.conf I've found
> this-
> 
> #Listen 12.34.56.78:80
> Listen 80
> ....
> 
> NameVirtualHost *
> 
> <VirtualHost _default_:*>
>     ServerAdmin webmaster at dummy-opac
>     DocumentRoot /usr/koha227/opac/htdocs
>     ScriptAlias  /cgi-bin/ /usr/koha227/opac/cgi-bin/
>     ServerName opac
>     ErrorLog logs/opac-error_log
>     CustomLog logs/opac-access_log common
>     SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
> </VirtualHost>
> 
> <VirtualHost *>
>     ServerAdmin webmaster at dummy-opac
>     DocumentRoot /usr/koha227/opac/htdocs
>     ScriptAlias  /cgi-bin/ /usr/koha227/opac/cgi-bin/
>     ServerName opac
>     ErrorLog logs/opac-error_log
>     CustomLog logs/opac-access_log common
>     SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
> </VirtualHost>
> 
> <VirtualHost *>
>     ServerAdmin webmaster at dummy-opac
>     DocumentRoot /usr/koha227/intranet/htdocs
>     ScriptAlias  /cgi-bin/ /usr/koha227/intranet/cgi-bin/
>     ServerName intranet
>     ErrorLog logs/intranet-error_log
>     CustomLog logs/intranet-access_log common
>     SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
> </VirtualHost>
> 
> 
> 
> With Regards
> Arnab
> 
> 
> 
> Henri-Damien LAURENT-3 wrote:
>   
>   
>     arnab a écrit :
>     
>     
>       Dear All,
> 
> I've installed Koha 2.2.7. Now the probem is that when I'm trying to
> access
> the INTRANET module through network, it is giving error. But I can easily
> access the OPAC module.
> 
> When giving "http://192.168.128.80/cgi-bin/koha/opac-main.pl"  it is
> working
> fine. But when giving "http://192.168.128.80/cgi-bin/koha/mainpage.pl"  OR
> "http://192.168.128.80/intranet/cgi-bin/koha/mainpage.pl"  it is giving
> the
> error -
> 
> Object not found!
> The requested URL was not found on this server. If you entered the URL
> manually please check your spelling and try again. 
> 
> If you think this is a server error, please contact the webmaster. 
> 
> Error 404
> 192.168.128.80
> 01/15/07 12:45:19
> Apache/2.0.59 (Win32) 
> 
> Could any body please tell me what changes I've to made in the file
> "httpd.conf".
> 
> With Regards
> Arnab
>   
>       
>     
>     It is normal since Koha is supposed to work ont two different internet
> interfaces.
> That ensures some security.
> So either you create two different virtualhosts (defined in
> koha-httpd.conf).
> OR you use two different listening ports in your koha-httpd.conf.
> But then to access intranet, you have to use the second port.
> -- 
> Henri-Damien LAURENT
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz 
> http://lists.katipo.co.nz/mailman/listinfo/koha 
> 
> 
>     
>   
>   
>   
> 
> 
> 
> 
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 
> 

-- 
View this message in context: http://www.nabble.com/Intranet-module-cannot-be-accessed-in-the-network-tf3013092.html#a8385806
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list