Hi Everyone,

" And stop telling people to disable the default site to make it work. It's bad 
practice"

Might I recommend that someone with experience in this area take a look at 
submitting an edit at 
http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages to include both 
Robin's concerns about disabling the default site, and expanding on the 
alternate way of solving the default "It Works!" page issue? I had no idea this 
issue could be fixed in the way suggested below. I rely on this Wiki page to 
get me through the installation process when I'm tinkering, as I'm sure may 
others do too.

I think what's perhaps come out of this thread is that this Wiki install guide 
needs some attention by an expert. ;D

FWIW.

Best to all,

Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
THE ROYAL CONSERVATORY
TELUS Centre for Performance and Learning
273 Bloor Street West
Toronto, ON M5S 1W2
416.408.2824 x338
www.rcmusic.ca

-----Original Message-----
From: Koha [mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Robin Sheat
Sent: May-20-15 7:00 PM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] Installed new server can no longer access KOHA.

MJ Ray schreef op wo 20-05-2015 om 12:11 [+0100]:
> 418 These short instructions assume that the default site is
> 419 not needed.  Talk with your system administrator, network
> 420 administrator, or IT Department to CONFIRM THIS BEFORE RUNNING
> 421 the following command:
> 422     sudo a2dissite 000-default

This is not really good advice (though at least it has caveats), except in the 
case of doing IP-based addressing.

If you're doing virtual host-based addressing (which is normal), and you get 
the default "It works!" page, then you need to fix your configuration[0]. If 
removing the default site makes things work, then you're papering over a real 
issue and it's quite likely that relying on this will break when something 
changes in the future.

So, don't disable the default site just to make Koha work: fix your apache 
configuration for Koha instead. And stop telling people to disable the default 
site to make it work. It's bad practice[1].

http://i.imgur.com/V3hUcpX.png

Footnotes:

[0] In particular, you don't have a ServerName or ServerAlias parameter that 
matches the hostname that you're trying to use specified in 
/etc/apache2/sites-enabled/library.conf

[1] Unless you're doing IP-based addressing, but you should only do that if you 
really have no other choice as expecting people to memorise IP addresses sucks.

--
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF


Note: This email message and any attachments are intended only for the use of 
the individual to which it is addressed, and may contain information that is 
privileged, confidential and exempt from disclosure under applicable law. If 
the recipient of this email is not the intended recipient (or the employee or 
agent responsible for delivering the email to the intended recipient), you are 
hereby notified that any review, dissemination, distribution or copying or 
other use of this message is strictly prohibited. If you have received this 
communication in error, please notify the sender immediately by return email 
and delete this message and attachments from your system, thank you.
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to