<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Arnab,<br>
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.<br>
<br>
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.<br>
<br>
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:<br>
<br>
192.168.128.80 opac # Koha Library Software OPAC <br>
192.168.128.80 intranet # Koha Library Software INTRANET <br>
<br>
Some of this information is on the wiki at
<a class="moz-txt-link-freetext" href="http://wiki.koha.org/doku.php?id=kohawintroubleshoot">http://wiki.koha.org/doku.php?id=kohawintroubleshoot</a><br>
<br>
Rob<br>
<br>
arnab wrote:
<blockquote cite="mid8369193.post@talk.nabble.com" type="cite">
<pre wrap="">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@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@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@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:
</pre>
<blockquote type="cite">
<pre wrap="">arnab a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="http://192.168.128.80/cgi-bin/koha/opac-main.pl">"http://192.168.128.80/cgi-bin/koha/opac-main.pl"</a> it is
working
fine. But when giving <a class="moz-txt-link-rfc2396E" href="http://192.168.128.80/cgi-bin/koha/mainpage.pl">"http://192.168.128.80/cgi-bin/koha/mainpage.pl"</a> OR
<a class="moz-txt-link-rfc2396E" href="http://192.168.128.80/intranet/cgi-bin/koha/mainpage.pl">"http://192.168.128.80/intranet/cgi-bin/koha/mainpage.pl"</a> 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
</pre>
</blockquote>
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>
<a class="moz-txt-link-freetext" href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>