Hello,<br><br>I installed Koha 2.2.9 on a machine running Ubuntu (I am going to show it to a small community library to convince them to use this application). All seems to have gone well, however the virtual web server part is giving some problems.
<br><br>The machine in questions is already running a web server on port 80. So I configured Koha to listen on ports 8000 and 8001. Here is the conf file I am currently using:<br>--------------------------------------------------------------------
<br># Koha 2.2 Apache Virtual Host Config File<br>#<br># Please include this file in your apache configuration.<br># The best way to do that depends on your site setup.<br># Some like an Include adding to /etc/apache/httpd.conf
<br># and some prefer a symlink to this file from some dir.<br># Please refer to your system manuals.<br><br># Ports to listen to for Koha<br># uncomment these if they aren't already in main httpd.conf<br>Listen 8000<br>
Listen 8001<br><br># NameVirtualHost is used by one of the optional configurations detailed below<br># Please make sure this line is correct before uncommenting.<br># See <a href="http://httpd.apache.org/docs/vhosts/">http://httpd.apache.org/docs/vhosts/
</a> for some guides.<br><br>#NameVirtualHost <a href="http://11.22.33.44">11.22.33.44</a><br><br># KOHA's OPAC Configuration<br><VirtualHost audioserver:8000><br> ServerAdmin <a href="mailto:sahambi@yahoo.com">
sahambi@yahoo.com</a><br> DocumentRoot /usr/local/koha/opac/htdocs<br> ServerName audioserver<br> ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/<br> Redirect permanent index.html <a href="http://audioserver:8000/cgi-bin/koha/opac-main.pl">
http://audioserver:8000/cgi-bin/koha/opac-main.pl</a><br> ErrorLog /usr/local/koha/log/opac-error_log<br> TransferLog /usr/local/koha/log/opac-access_log<br> SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
<br> SetEnv KOHA_CONF "/etc/koha.conf"<br> <br></VirtualHost><br># KOHA's INTRANET Configuration<br><VirtualHost audioserver:8001><br> ServerAdmin <a href="mailto:sahambi@yahoo.com">sahambi@yahoo.com
</a><br> DocumentRoot /usr/local/koha/intranet/htdocs<br> ServerName audioserver <br> ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"<br> Redirect permanent index.html <a href="http://audioserver:8001/cgi-bin/koha/mainpage.pl">
http://audioserver:8001/cgi-bin/koha/mainpage.pl</a><br> ErrorLog /usr/local/koha/log/koha-error_log<br> TransferLog /usr/local/koha/log/koha-access_log<br> SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
<br> SetEnv KOHA_CONF "/etc/koha.conf"<br> <br></VirtualHost><br><br># If you want to use name based Virtual Hosting:<br># 1. remove the two Listen lines<br># 2. replace audioserver:8000 wih <a href="http://your.opac.domain.name">
your.opac.domain.name</a><br># 3. replace ServerName audioserver wih ServerName <a href="http://your.opac.domain.name">your.opac.domain.name</a><br># 4. replace audioserver:8001 wih your intranet domain name<br># 5. replace ServerName audioserver wih ServerName
<a href="http://your.intranet.domain.name">your.intranet.domain.name</a><br>#<br># If you want to use NameVirtualHost'ing (using two names on one ip address):<br># 1. Follow steps 1-5 above<br># 2. Uncomment the NameVirtualHost line and set the correct ip address
<br><br>--------------------------------------------------------------------<br><br>The above conf files was included in /etc/apache2/apache2.conf with an include statement:<br>#included for Koha configuration, by HS, 20070910
<br>Include /etc/koha-httpd.conf<br><br><br>The name of the machine is "audioserver". Assume the domain name of the machine (it has a dynamic IP address) is <a href="http://mydomain.com">mydomain.com</a>. With the above configuration, I can access Koha only on the LAN on port 8000, but not from the internet. If I replace "audioserver" with "
<a href="http://mydomain.com">mydomain.com</a>", it doesn't work from anywhere, neither from LAN nor from WAN, and I get the website web page on ports 80, 8000 and 8001.<br><br>I am running apache2 ver. 2.2.3-3.2ubuntu0
. What I missing in the above configuration and how I make Koha available from the external internet on port 8000?<br><br>thanks,<br>->HS<br><br><br>