Ista,<div><div>we use the following:</div><div><br></div><div><br></div><div># OPAC</div></div><div><VirtualHost *:80></div><div><div> ServerName koha.your.domain</div><div> ...</div><div></VitualHost></div>
<div><br></div><div># STAFF</div><div><div><VirtualHost *:8080></div><div> ServerName koha.your.domain</div><div> ...</div><div></VirtualHost></div><div><br></div><div>but you must declare "<a href="http://koha.your.name">koha.your.name</a>" on the DNS server, and modify all virtual hosts similarly.</div>
<div><br></div><div>Your second mail just arrived, the problem is that opac and staff can listen on the same port, but need to listen to different "names", opac.your.domain and staff.your.domain. In that way you could access only the staff interface and finish the install procedure.</div>
<div><br></div><div><div><div># OPAC</div></div><div><VirtualHost *:8080></div><div><div> ServerName opac.your.domain</div><div> ...</div><div></VitualHost></div><div><br></div><div># STAFF</div><div><div><VirtualHost *:8080></div>
<div> ServerName staff.your.domain</div><div> ...</div><div></VirtualHost></div><div><br></div></div></div></div><div><br></div><div><br></div><div><br></div><div>bgk</div><div><br></div><div></div></div><br><div class="gmail_quote">
On Wed, Dec 16, 2009 at 2:06 PM, Ista Zahn <span dir="ltr"><<a href="mailto:izahn@psych.rochester.edu">izahn@psych.rochester.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thank you, that works! Unfortunately I still have some tweaking to do,<br>
because I have other websites running on the same server, and adding<br>
these lines causes them to all point to the koha page. But this is<br>
clearly an apache issue at this point, so I'll look to the apache docs<br>
for further help. Thanks again!<br>
<font color="#888888"><br>
-Ista<br>
</font><div><div></div><div class="h5"><br>
On Wed, Dec 16, 2009 at 11:36 AM, Brenner, Martin<br>
<<a href="mailto:martin.brenner@whitfieldschool.org">martin.brenner@whitfieldschool.org</a>> wrote:<br>
> Hi Ista,<br>
><br>
> You are almost there. The make test errors don't make a difference. All you<br>
> have to do is add to the section:<br>
><br>
> ## OPAC<br>
> <VirtualHost <a href="http://127.0.1.1:80" target="_blank">127.0.1.1:80</a>><br>
><br>
> and<br>
><br>
> ## Intranet<br>
> <VirtualHost <a href="http://127.0.1.1:8080" target="_blank">127.0.1.1:8080</a>><br>
><br>
> to include the IP address of your server. It will end up looking like:<br>
><br>
> ## OPAC<br>
> <VirtualHost <a href="http://127.0.1.1:80" target="_blank">127.0.1.1:80</a> 10.11.103.4><br>
><br>
> and<br>
><br>
> ## Intranet<br>
> <VirtualHost <a href="http://127.0.1.1:8080" target="_blank">127.0.1.1:8080</a> <a href="http://10.11.103.4:8080" target="_blank">10.11.103.4:8080</a>><br>
><br>
> Where 10.11.103.4 is the IP address of your box.<br>
><br>
> Martin<br>
><br>
> Martin Brenner<br>
> Head Librarian<br>
> Whitfield School<br>
> 175 S Mason Rd<br>
> St. Louis MO 63141<br>
><br>
><br>
><br>
> On Wed, Dec 16, 2009 at 10:27 AM, Ista Zahn <<a href="mailto:izahn@psych.rochester.edu">izahn@psych.rochester.edu</a>><br>
> wrote:<br>
>><br>
>> Hi everyone,<br>
>> I'm new to Koha, and to this list. I'm trying to set up Koha (version<br>
>> koha-3.00.04_fixed, downloaded from <a href="http://koha.org/" target="_blank">http://koha.org/</a>) for a very small<br>
>> community library, and am running into trouble installing the<br>
>> software. The server is running Ubuntu 8.10 (Intrepid). I followed the<br>
>> installation instructions in the INSTALL.ubuntu file shipped with the<br>
>> program to the letter, but when I run 'make test' I got the following<br>
>> errors:<br>
>><br>
>> # Failed test '5 of 3 pieces produced'<br>
>> # at t/Labels_split_ddcn.t line 30.<br>
>> t/Labels_split_ddcn............NOK 64/82<br>
>> # Failed test '(MP3-CD F PARKER)[0] matches: MP3-CD'<br>
>> # at t/Labels_split_ddcn.t line 35.<br>
>> t/Labels_split_ddcn............NOK 66/82<br>
>> # Failed test '(MP3-CD F PARKER)[1] matches: F'<br>
>> # at t/Labels_split_ddcn.t line 35.<br>
>> t/Labels_split_ddcn............NOK 68/82<br>
>> # Failed test '(MP3-CD F PARKER)[2] matches: PARKER'<br>
>> # at t/Labels_split_ddcn.t line 35.<br>
>> # Looks like you failed 4 tests of 82.<br>
>> t/Labels_split_ddcn............dubious<br>
>> Test returned status 4 (wstat 1024, 0x400)<br>
>> DIED. FAILED tests 62, 64, 66, 68<br>
>> Failed 4/82 tests, 95.12% okay<br>
>><br>
>> I went ahead with 'make install' anyway, and followed the remaining<br>
>> instructions. When I finished, I pointed my browser to <MyDomain>:8080<br>
>> but it just says "The requested URL / was not found on this server."<br>
>><br>
>> My guess is that the problem is either related to the error message<br>
>> above, or to my apache configuration. My apache config file is pasted<br>
>> below. I'll be really grateful for any pointers on what to try next,<br>
>> as I'm feeling pretty stuck at this point.<br>
>><br>
>> Thanks!<br>
>> Ista<br>
>><br>
>> ##########Apache config file##############<br>
>> # Koha Apache Configuration Directives<br>
>><br>
>> #NameVirtualHost *<br>
>><br>
>> ## OPAC<br>
>> <VirtualHost <a href="http://127.0.1.1:80" target="_blank">127.0.1.1:80</a>><br>
>> ServerAdmin webmaster@prometheus<br>
>> DocumentRoot /var/www/koha/opac/htdocs<br>
>> ServerName prometheus<br>
>> # ServerAlias <a href="http://opac.mydomain.com" target="_blank">opac.mydomain.com</a><br>
>> ScriptAlias /cgi-bin/koha/ "/var/www/koha/opac/cgi-bin/opac/"<br>
>> ScriptAlias /index.html "/var/www/koha/opac/cgi-bin/opac/<a href="http://opac-main.pl" target="_blank">opac-main.pl</a>"<br>
>> ScriptAlias /<a href="http://opac-search.pl" target="_blank">opac-search.pl</a> "/var/www/koha/opac/cgi-bin/opac/search"<br>
>> ScriptAlias /search "/var/www/koha/opac/cgi-bin/opac/search"<br>
>> ErrorLog /var/www/koha/var/log/koha-opac-error_log<br>
>> # TransferLog /var/www/koha/var/log/koha-opac-access_log<br>
>> SetEnv KOHA_CONF "/var/www/koha/etc/koha-conf.xml"<br>
>> SetEnv PERL5LIB "/var/www/koha/lib"<br>
>><br>
>> # Repeat this virtualhost stanza changing the following environment vars<br>
>> to<br>
>> # create multiple OPAC interfaces with custom css and/or search limits:<br>
>> # SetEnv OPAC_CSS_OVERRIDE mystyle.css<br>
>> # SetEnv OPAC_SEARCH_LIMIT branch:CODE<br>
>> # SetEnv OPAC_LIMIT_OVERRIDE 1<br>
>><br>
>> Options +FollowSymLinks<br>
>><br>
>> ErrorDocument 400 /cgi-bin/koha/errors/<a href="http://400.pl" target="_blank">400.pl</a><br>
>> ErrorDocument 401 /cgi-bin/koha/errors/<a href="http://401.pl" target="_blank">401.pl</a><br>
>> ErrorDocument 403 /cgi-bin/koha/errors/<a href="http://403.pl" target="_blank">403.pl</a><br>
>> ErrorDocument 404 /cgi-bin/koha/errors/<a href="http://404.pl" target="_blank">404.pl</a><br>
>> ErrorDocument 500 /cgi-bin/koha/errors/<a href="http://500.pl" target="_blank">500.pl</a><br>
>><br>
>> # Rewrite Rules<br>
>> RewriteEngine On<br>
>> # Uncomment to turn on rewrite logging<br>
>> # RewriteLog /var/www/koha/var/log/koha-opac-rewrite.log<br>
>> # RewriteLogLevel 1<br>
>> RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)<br>
>> RewriteRule (.+) $1?%1%2 [N,R,NE]<br>
>><br>
>> RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT]<br>
>> RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]<br>
>> RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]<br>
>> </VirtualHost><br>
>><br>
>> ## Intranet<br>
>> <VirtualHost <a href="http://127.0.1.1:8080" target="_blank">127.0.1.1:8080</a>><br>
>> ServerAdmin webmaster@prometheus<br>
>> DocumentRoot /var/www/koha/intranet/htdocs<br>
>> ServerName prometheus:8080<br>
>> # ServerAlias <a href="http://intranet.mydomain.com" target="_blank">intranet.mydomain.com</a><br>
>> ScriptAlias /cgi-bin/koha/ "/var/www/koha/intranet/cgi-bin/"<br>
>> ScriptAlias /index.html "/var/www/koha/intranet/cgi-bin/<a href="http://mainpage.pl" target="_blank">mainpage.pl</a>"<br>
>> ScriptAlias /search "/var/www/koha/intranet/cgi-bin/<a href="http://search.pl" target="_blank">search.pl</a>"<br>
>> ErrorLog /var/www/koha/var/log/koha-error_log<br>
>> # TransferLog /var/www/koha/var/log/koha-access_log<br>
>> SetEnv KOHA_CONF "/var/www/koha/etc/koha-conf.xml"<br>
>> SetEnv PERL5LIB "/var/www/koha/lib"<br>
>> Options +FollowSymLinks<br>
>><br>
>> ErrorDocument 400 /cgi-bin/koha/errors/<a href="http://400.pl" target="_blank">400.pl</a><br>
>> ErrorDocument 401 /cgi-bin/koha/errors/<a href="http://401.pl" target="_blank">401.pl</a><br>
>> ErrorDocument 403 /cgi-bin/koha/errors/<a href="http://403.pl" target="_blank">403.pl</a><br>
>> ErrorDocument 404 /cgi-bin/koha/errors/<a href="http://404.pl" target="_blank">404.pl</a><br>
>> ErrorDocument 500 /cgi-bin/koha/errors/<a href="http://500.pl" target="_blank">500.pl</a><br>
>><br>
>> RewriteEngine On<br>
>> # Uncomment to turn on rewrite logging<br>
>> # RewriteLog /var/www/koha/var/log/koha-intranet-rewrite.log<br>
>> # RewriteLogLevel 1<br>
>><br>
>> RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)<br>
>> RewriteRule (.+) $1?%1%2 [N,R,NE]<br>
>> RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT]<br>
>> RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]<br>
>> RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]<br>
>> </VirtualHost><br>
>><br>
>><br>
>><br>
>> --<br>
>> Ista Zahn<br>
>> Graduate student<br>
>> University of Rochester<br>
>> Department of Clinical and Social Psychology<br>
>> <a href="http://yourpsyche.org" target="_blank">http://yourpsyche.org</a><br>
>> _______________________________________________<br>
>> Koha mailing list<br>
>> <a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
>> <a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Ista Zahn<br>
Graduate student<br>
University of Rochester<br>
Department of Clinical and Social Psychology<br>
<a href="http://yourpsyche.org" target="_blank">http://yourpsyche.org</a><br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</div></div></blockquote></div><br></div>