[Koha] FW: Can only access OPAC or Staff client

Doug Dearden dearden at sarsf.org
Fri May 13 09:23:09 NZST 2016


Hi Kelsey,

I think what you want is to make your OPAC and your staff client both listen on port 80, and use the ServerName directive to distinguish between the two.
https://httpd.apache.org/docs/current/vhosts/examples.html

Doug



From: Kelsey Lied [mailto:kalied at stkate.edu]
Sent: Thursday, May 12, 2016 2:50 PM
To: Doug Dearden <dearden at sarsf.org>
Cc: koha-user <koha at lists.katipo.co.nz>
Subject: Re: [Koha] FW: Can only access OPAC or Staff client

Thanks, Doug.

This'll work in a pinch and get us through.

I'm curious, though, why we'd have to force the port -- shouldn't the name matching in the virtual hosts make forcing the port unnecessary?  I think there's some hiccup in the configurations that's interfering with this working with standard-port-less URLs.  I shouldn't have had to move the staff client off of 80 at all if the name-matching was working...

On Thu, May 12, 2016 at 2:53 PM, Doug Dearden <dearden at sarsf.org<mailto:dearden at sarsf.org>> wrote:

Hi Kelsey,

For your OPAC use library.kohaesfl.org<http://library.kohaesfl.org> (defaults to port 80)
For your staff client use library.kohaesfl.org:8080<http://library.kohaesfl.org:8080> (forces use of port 8080)

Best,

Doug

-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz<mailto:koha-bounces at lists.katipo.co.nz>] On Behalf Of Kelsey Lied
Sent: Thursday, May 12, 2016 10:36 AM
To: koha at lists.katipo.co.nz<mailto:koha at lists.katipo.co.nz>
Subject: [Koha] Can only access OPAC or Staff client

Hi,

I've got a new almost-up install with a weird happening -- only the OPAC or
Staff client is available.

I've split the two to be on different ports, 80 and 8080.  Both
library.kohaesfl.org<http://library.kohaesfl.org> and library-intra.kohaesfl.org<http://library-intra.kohaesfl.org> will go to whichever
site is currently set to port 80.  (ie, right now, the OPAC is on 80 and
they both go to the OPAC.  If I flip the ports in
/etc/apache2/sites-available/library.conf and /etc/koha/koha-sites.conf so
that the intranet is on port 80, both URLs will give the staff side).

Both subdomains have valid DNS entries pointing them to the right server;
both will work if accessed via IP:port; both 80 and 8080 are being
"Listen"ed to in /etc/apache2/ports.conf

Has anybody seen this or does anybody have any ideas on what to try?

Thanks,
Kelsey Lied
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list