<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>Day three of trying
to get Koha installed on Debian sarge.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>I installed all the
dependencies as instructed in <A
href="http://www.kohadocs.org/Installing_Koha_on_Debian_sarge.html">http://www.kohadocs.org/Installing_Koha_on_Debian_sarge.html</A>.
I had problems including koha-httpd.conf in the wrong conf file for apache,
whereas my server seems to have both an /etc/apache/httpd.conf and
/etc/apache2/apache2.conf.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>I'm pretty sure I'm
working in all the right conf files now.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=622132022-15052006><FONT face=Arial size=2>When I
try to open </FONT><A href="http://ho-debian1:8080"><FONT face=Arial
size=2>http://ho-debian1:8080</FONT></A><FONT face=Arial size=2>, I get the
"Test Page for Apache Installation" </FONT><A
href="http://ho-debian1:8080/apache2-default"><FONT face=Arial
size=2>http://ho-debian1:8080/apache2-default</FONT></A><FONT face=Arial
size=2>. Trying to open </FONT><A
href="http://ho-debian1:8080/index.html"><FONT face=Arial
size=2>http://ho-debian1:8080/index.html</FONT></A><FONT face=Arial
size=2> in my browser results in a 404
error. Requesting </FONT><A
href="http://ho-debian1:8080/cgi-bin/koha/mainpage.pl"><FONT face=Arial
size=2>http://ho-debian1:8080/cgi-bin/koha/mainpage.pl</FONT></A></SPAN></FONT><FONT
face=Arial size=2><SPAN class=622132022-15052006> returns a 404 error page
and generates the following error in /var/log/apache2/error.log: script not
found or unable to stat: /usr/lib/cgi-bin/koha.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>Opening
localhost:8080 in lynx on the apache server returns a Koha
page.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>The demo looked
great, but I couldn't actually execute an order on a basket, keeping me from all
the subsequent acquisition pages I need to evaluate Koha. If I can't get
this to work I fear there shall be no Koha for my
organization.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>Can anyone
help?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>
<HR>
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>Here's the footer
returned by the 404 response:</SPAN></FONT></DIV>
<DIV><SPAN class=622132022-15052006><FONT face=Arial size=2>Apache/2.0.54
(Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 mod_perl/1.999.21
Perl/v5.8.4 Server at ho-debian1 Port 8080</FONT></SPAN></DIV>
<DIV><SPAN class=622132022-15052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=622132022-15052006>
<HR>
</SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=622132022-15052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=622132022-15052006>Here's
apache2.conf:</SPAN></FONT></DIV><PRE><SPAN class=622132022-15052006>ServerRoot "/etc/apache2"</SPAN></PRE><PRE><SPAN class=622132022-15052006>LockFile /var/lock/apache2/accept.lock</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006># PidFile: The file in which the server should record its process<BR># identification number when it starts.</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>PidFile /var/run/apache2.pid</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006># Timeout: The number of seconds before receives and sends time out.</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>Timeout 300</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006># KeepAlive: Whether or not to allow persistent connections (more than<BR># one request per connection). Set to "Off" to deactivate.</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>KeepAlive On</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006># MaxKeepAliveRequests: The maximum number of requests to allow<BR># during a persistent connection. Set to 0 to allow an unlimited amount.<BR># We recommend you leave this number high, for maximum performance.</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>MaxKeepAliveRequests 100</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006># KeepAliveTimeout: Number of seconds to wait for the next request from the<BR># same client on the same connection.</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>KeepAliveTimeout 15</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>##<BR>## Server-Pool Size Regulation (MPM specific)<BR>## </SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006><IfModule prefork.c><BR>StartServers 5<BR>MinSpareServers 5<BR>MaxSpareServers 10<BR>MaxClients 20<BR>MaxRequestsPerChild 0<BR></IfModule></SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006><IfModule worker.c><BR>StartServers 2<BR>MaxClients 150 <BR>MinSpareThreads 25<BR>MaxSpareThreads 75<BR>ThreadsPerChild 25<BR>MaxRequestsPerChild 0<BR></IfModule></SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006><IfModule perchild.c><BR>NumServers 5<BR>StartThreads 5<BR>MinSpareThreads 5<BR>MaxSpareThreads 10<BR>MaxThreadsPerChild 20<BR>MaxRequestsPerChild 0<BR>AcceptMutex fcntl<BR></IfModule></SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006>User www-data<BR>Group www-data</SPAN></PRE><PRE> </PRE><PRE><SPAN class=622132022-15052006># The following directives define some format nicknames for use with<BR># a CustomLog directive (see below).<BR>LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined<BR>LogFormat "%h %l %u %t \"%r\" %>s %b" common<BR>LogFormat "%{Referer}i -> %U" referer<BR>LogFormat "%{User-agent}i" agent</SPAN></PRE><PRE> </PRE><SPAN class=622132022-15052006><PRE><BR># Global error log.<BR>ErrorLog /var/log/apache2/error.log</PRE><PRE> </PRE><PRE># Include module configuration:<BR>Include /etc/apache2/mods-enabled/*.load<BR>Include /etc/apache2/mods-enabled/*.conf</PRE><PRE> </PRE><PRE># Include all the user configurations:<BR>Include /etc/apache2/httpd.conf</PRE><PRE> </PRE><PRE># Include ports listing<BR>Include /etc/apache2/ports.conf</PRE><PRE> </PRE><PRE># Include generic snippets of statements<BR>Include /etc/apache2/conf.d/[^.#]*</PRE><PRE> </PRE><PRE>#Let's have some Icons, shall we?<BR>Alias /icons/ "/usr/share/apache2/icons/"<BR><Directory "/usr/share/apache2/icons"><BR> Options Indexes MultiViews<BR> AllowOverride None<BR> Order allow,deny<BR> Allow from all<BR></Directory></PRE><PRE> </PRE><PRE><IfModule mod_negotiation.c><BR><IfModule mod_include.c><BR> Alias /error/ "/usr/share/apache2/error/"</PRE><PRE> </PRE><PRE> <Directory "/usr/share/apache2/error"><BR> AllowOverride None<BR> Options IncludesNoExec<BR> AddOutputFilter Includes html<BR> AddHandler type-map var<BR> Order allow,deny<BR> Allow from all<BR> LanguagePriority en es de fr<BR> ForceLanguagePriority Prefer Fallback<BR> </Directory></PRE><PRE> </PRE><PRE> ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var<BR> ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var<BR> ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var<BR> ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var<BR> ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var<BR> ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var<BR> ErrorDocument 410 /error/HTTP_GONE.html.var<BR> ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var<BR> ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var<BR> ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var<BR> ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var<BR> ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var<BR> ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var<BR> ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var<BR> ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var<BR> ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var<BR> ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var</PRE><PRE> </PRE><PRE></IfModule><BR></IfModule></PRE><PRE> </PRE><PRE>DirectoryIndex index.html index.cgi index.pl index.php index.xhtml</PRE><PRE> </PRE><PRE># UserDir is now a module<BR>#UserDir public_html<BR>#UserDir disabled root</PRE><PRE> </PRE><PRE>#<Directory /home/*/public_html><BR># AllowOverride FileInfo AuthConfig Limit<BR># Options Indexes SymLinksIfOwnerMatch IncludesNoExec<BR>#</Directory></PRE><PRE> </PRE><PRE>AccessFileName .htaccess</PRE><PRE> </PRE><PRE><Files ~ "^\.ht"><BR> Order allow,deny<BR> Deny from all<BR></Files></PRE><PRE> </PRE><PRE>UseCanonicalName Off</PRE><PRE> </PRE><PRE>TypesConfig /etc/mime.types<BR>DefaultType text/plain</PRE><PRE> </PRE><PRE>HostnameLookups Off</PRE><PRE> </PRE><PRE>IndexOptions FancyIndexing VersionSort</PRE><PRE> </PRE><PRE>AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip</PRE><PRE> </PRE><PRE>AddIconByType (TXT,/icons/text.gif) text/*<BR>AddIconByType (IMG,/icons/image2.gif) image/*<BR>AddIconByType (SND,/icons/sound2.gif) audio/*<BR>AddIconByType (VID,/icons/movie.gif) video/*</PRE><PRE> </PRE><PRE># This really should be .jpg.</PRE><PRE> </PRE><PRE>AddIcon /icons/binary.gif .bin .exe<BR>AddIcon /icons/binhex.gif .hqx<BR>AddIcon /icons/tar.gif .tar<BR>AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv<BR>AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip<BR>AddIcon /icons/a.gif .ps .ai .eps<BR>AddIcon /icons/layout.gif .html .shtml .htm .pdf<BR>AddIcon /icons/text.gif .txt<BR>AddIcon /icons/c.gif .c<BR>AddIcon /icons/p.gif .pl .py<BR>AddIcon /icons/f.gif .for<BR>AddIcon /icons/dvi.gif .dvi<BR>AddIcon /icons/uuencoded.gif .uu<BR>AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl<BR>AddIcon /icons/tex.gif .tex<BR>AddIcon /icons/bomb.gif core</PRE><PRE> </PRE><PRE>AddIcon /icons/back.gif ..<BR>AddIcon /icons/hand.right.gif README<BR>AddIcon /icons/folder.gif ^^DIRECTORY^^<BR>AddIcon /icons/blank.gif ^^BLANKICON^^</PRE><PRE> </PRE><PRE><BR># This is from Matty J's patch. Anyone want to make the icons?<BR>#AddIcon /icons/dirsymlink.jpg ^^SYMDIR^^<BR>#AddIcon /icons/symlink.jpg ^^SYMLINK^^</PRE><PRE> </PRE><PRE>DefaultIcon /icons/unknown.gif</PRE><PRE> </PRE><PRE>ReadmeName README.html<BR>HeaderName HEADER.html</PRE><PRE> </PRE><PRE>IndexIgnore .??* *~ *# HEADER* RCS CVS *,t</PRE><PRE> </PRE><PRE>AddEncoding x-compress Z<BR>AddEncoding x-gzip gz tgz</PRE><PRE> </PRE><PRE>AddLanguage da .dk<BR>AddLanguage nl .nl<BR>AddLanguage en .en<BR>AddLanguage et .et<BR>AddLanguage fr .fr<BR>AddLanguage de .de<BR>AddLanguage el .el<BR>AddLanguage it .it<BR>AddLanguage ja .ja<BR>AddLanguage pl .po<BR>AddLanguage ko .ko<BR>AddLanguage pt .pt<BR>AddLanguage no .no<BR>AddLanguage pt-br .pt-br<BR>AddLanguage ltz .ltz<BR>AddLanguage ca .ca<BR>AddLanguage es .es<BR>AddLanguage sv .se<BR>AddLanguage cz .cz<BR>AddLanguage ru .ru<BR>AddLanguage tw .tw<BR>AddLanguage zh-tw .tw</PRE><PRE> </PRE><PRE>LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw</PRE><PRE> </PRE><PRE><BR>#AddDefaultCharset ISO-8859-1</PRE><PRE> </PRE><PRE>AddCharset ISO-8859-1 .iso8859-1 .latin1<BR>AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen<BR>AddCharset ISO-8859-3 .iso8859-3 .latin3<BR>AddCharset ISO-8859-4 .iso8859-4 .latin4<BR>AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru<BR>AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb<BR>AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk<BR>AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb <BR>AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk<BR>AddCharset ISO-2022-JP .iso2022-jp .jis<BR>AddCharset ISO-2022-KR .iso2022-kr .kis<BR>AddCharset ISO-2022-CN .iso2022-cn .cis<BR>AddCharset Big5 .Big5 .big5<BR># For russian, more than one charset is used (depends on client, mostly):<BR>AddCharset WINDOWS-1251 .cp-1251 .win-1251<BR>AddCharset CP866 .cp866<BR>AddCharset KOI8-r .koi8-r .koi8-ru<BR>AddCharset KOI8-ru .koi8-uk .ua<BR>AddCharset ISO-10646-UCS-2 .ucs2<BR>AddCharset ISO-10646-UCS-4 .ucs4<BR>AddCharset UTF-8 .utf8</PRE><PRE> </PRE><PRE>AddCharset GB2312 .gb2312 .gb <BR>AddCharset utf-7 .utf7<BR>AddCharset utf-8 .utf8<BR>AddCharset big5 .big5 .b5<BR>AddCharset EUC-TW .euc-tw <BR>AddCharset EUC-JP .euc-jp<BR>AddCharset EUC-KR .euc-kr<BR>AddCharset shift_jis .sjis</PRE><PRE> </PRE><PRE>#AddType application/x-httpd-php .php<BR>#AddType application/x-httpd-php-source .phps</PRE><PRE> </PRE><PRE>AddType application/x-tar .tgz</PRE><PRE> </PRE><PRE># To use CGI scripts outside /cgi-bin/:<BR>#<BR>#AddHandler cgi-script .cgi</PRE><PRE> </PRE><PRE># To use server-parsed HTML files<BR>#<BR><FilesMatch "\.shtml(\..+)?$"><BR> SetOutputFilter INCLUDES<BR></FilesMatch></PRE><PRE> </PRE><PRE># If you wish to use server-parsed imagemap files, use<BR>#<BR>#AddHandler imap-file map</PRE><PRE> </PRE><PRE>BrowserMatch "Mozilla/2" nokeepalive<BR>BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0<BR>BrowserMatch "RealPlayer 4\.0" force-response-1.0<BR>BrowserMatch "Java/1\.0" force-response-1.0<BR>BrowserMatch "JDK/1\.0" force-response-1.0</PRE><PRE>BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully<BR>BrowserMatch "^WebDrive" redirect-carefully<BR>BrowserMatch "^gnome-vfs" redirect-carefully <BR>BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully</PRE><PRE># Include the virtual host configurations:<BR>Include /etc/apache2/sites-enabled/[^.#]*</PRE><PRE> </PRE><PRE>Include /etc/koha-httpd.conf</PRE><FONT size=+0>
<DIV><FONT face=Arial size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=622132022-15052006><FONT face=Arial size=2>Here's
/etc/koha-httpd.conf:</FONT></SPAN></DIV>
<DIV><SPAN class=622132022-15052006><FONT face=Arial
size=2></FONT></SPAN> </DIV></FONT><PRE><SPAN class=622132022-15052006># 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.</SPAN></PRE><PRE><SPAN class=622132022-15052006># Ports to listen to for Koha<BR># uncomment these if they aren't already in main httpd.conf<BR>Listen 8000<BR>Listen 8080</SPAN></PRE><PRE><SPAN class=622132022-15052006># 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.</SPAN></PRE><PRE><SPAN class=622132022-15052006>#NameVirtualHost 11.22.33.44</SPAN></PRE><PRE><SPAN class=622132022-15052006># KOHA's OPAC Configuration<BR><VirtualHost ho-debian1:8000><BR> ServerAdmin administrator[@etc...]<BR> DocumentRoot /usr/local/koha/opac/htdocs<BR> ServerName ho-debian1<BR> ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/<BR> Redirect permanent index.html <A href="http://ho-debian1:8000/cgi-bin/koha/opac-main.pl">http://ho-debian1: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></SPAN></PRE><PRE><SPAN class=622132022-15052006># KOHA's INTRANET Configuration<BR><VirtualHost ho-debian1:8080><BR> ServerAdmin administrator[@etc...]<BR> DocumentRoot /usr/local/koha/intranet/htdocs<BR> ServerName ho-debian1<BR> ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"<BR> Redirect permanent index.html <A href="http://ho-debian1:8080/cgi-bin/koha/mainpage.pl">http://ho-debian1:8080/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></SPAN></PRE><PRE><SPAN class=622132022-15052006># If you want to use name based Virtual Hosting:<BR># 1. remove the two Listen lines<BR># 2. replace HO-Debian1:8000 wih your.opac.domain.name<BR># 3. replace ServerName HO-Debian1 wih ServerName your.opac.domain.name<BR># 4. replace HO-Debian1:8080 wih your intranet domain name<BR># 5. replace ServerName HO-Debian1 wih ServerName your.intranet.domain.name<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></SPAN></PRE><FONT
size=+0>
<DIV><SPAN class=622132022-15052006><FONT face=Arial
size=2></FONT></SPAN></SPAN></FONT> </DIV></BODY></HTML>