OK great I changed the sites-available/{instance} to have the intranet 
ServerName have the value of my server and it worked. 
 

 
> From: [email protected]
> To: [email protected]
> Date: Tue, 23 Sep 2014 15:14:13 +0000
> CC: [email protected]
> Subject: Re: [Koha] full admin interface
> 
> Thanks 
>  
> I had a feeling this was what the issue was.
>  
> I will have a look at how I can get my IP based setup to work. 
>  
> My hostname does resolve using my local DNS server, but having it recognise a 
> subdomain (or virtual host or what ever it is) I am unsure about
>  
> That's a poor explanation. What I mean is if I type the name of my Ubuntu 
> server into the browser it resolves e.g http://myubuntuserver, but if I typed 
> admin-myubuntuserver or any sort of variation I do not know how to have this 
> resolve 
>  
> I thought adding a ServerName admin-myubuntuserver in the 
> /etc/apache2/sites-enabled/{instance name} is this all that's needed to fix 
> this?
>  
>  
>  
> 
>  
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> > Subject: Re: [Koha] full admin interface
> > Date: Tue, 23 Sep 2014 10:29:08 -0400
> > 
> > Greetings,
> > 
> > That's the OPAC interface. You're apache settings are such that if it 
> > doesn't match the server name when you connect, you'll get the OPAC.
> > 
> > snippets from /etc/apache2/sites-enabled/{instance name}
> > ...
> > ## OPAC
> > <VirtualHost *:443>
> > ...
> >    ServerName demo.library.kohasystem.ca
> > ...
> > </VirtualHost>
> > 
> > ## Intranet
> > <VirtualHost *:443>
> > ...
> >    ServerName demo.library-admin.kohasystem.ca
> > ...
> > </VirtualHost>
> > 
> > In the above example, I am running my development koha off of port 443 
> > (https not http).
> > ***NOTE: There are other things that make the https set up work, this 
> > example is not about https!***
> > Notice how I have the ServerName values set? Notice how OPAC is listed 
> > first?
> > What do you think will happen if I go to https://{ip address for the 
> > machine}/?
> > It will show OPAC, because:
> > 1) {ip address for the machine} is not listed in any of my VirtualHost tags
> > 2) {ip address for the machine} does not match any of the server names
> > 3) the OPAC block *:443 matches first.
> > 
> > You like have:
> > 1) DNS not properly set up, or WRONGLY FAKED, and/or
> > 2) You are trying to access a name-based install with an IP-based URL.
> > 
> > GPML,
> > Mark Tompsett 
> > 
>                                         
> _______________________________________________
> Koha mailing list  http://koha-community.org
> [email protected]
> http://lists.katipo.co.nz/mailman/listinfo/koha
                                          
_______________________________________________
Koha mailing list  http://koha-community.org
[email protected]
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to