Localhost will only work from the machine the server is running on. You will need to use either the external IP address or hostname of the server to get it to work from another computer. On 04/25/2017 03:09 PM, Chris Cormack wrote:
Forwarding by request, please reply to the list ---------- Forwarded message ---------- From: Boulier, Jack <jboulier@mticollege.edu> Date: 26 April 2017 at 08:06 Subject: Request for assistance on PHP hosted on my KOHA webserver. To: "chris@bigballofwax.co.nz" <chris@bigballofwax.co.nz>
*From:* Boulier, Jack *Sent:* Monday, April 24, 2017 3:07 PM *To:* 'koha-request@lists.katipo.co.nz' <koha-request@lists.katipo.co.nz> *Subject:* Using PHP on the KOHA Server.
I would like to use PHP (LAMP), on my KOHA server. I am unable to locate the storage location of the files. I thought it should be /var/www/html. But I cannot get the application to go to the localhost. It may also be that I have not loaded the LAMP solution correctly.
*Koha version: *
16.11.06.000
*OS version ('uname -a'): *
Linux ubuntu 3.16.0-33-generic #44~14.04.1-Ubuntu SMP Fri Mar 13 10:33:29 UTC 2015 x86_64
*Perl interpreter: *
/usr/bin/perl
*Perl version: *
5.018002
*Perl @INC: *
/usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .
*MySQL version: *
mysql Ver 15.1 Distrib 10.1.22-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
*Apache version: *
Server version: Apache/2.4.7 (Ubuntu)
*Memcached: *
Servers: undefined | Namespace: koha | Status: unknown | Config read from: Nowhere Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined. | Effective caching method: Cache::Memory
*Zebra version: *
Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 419ad759807269fdfa379799a051ed3a551c6541 Using ICU
As you will notice I am using mariadb as my database, but it should not have any affect regarding my question. I was experiencing many problems with mysql server. But mariadb resolved all the issues.
I am attempting to place links on my KOHA home page for patrons. I have successful accomplished in the past, but I was using another local server as the host, which is no longer an option, and not trying to use the localhost as the provider of the web pages. I am placing the links on the home page on the left and right sides. My other links to off-site locations works fine. If need I can provide a screen shot of the home page.
This is the code that I have placed in OPAC NAV
<div>
<p style=text-align="center"><font color="red", size="5">Important MTI Websites</font></p> ß Work fine.
</div>
<a href= "http://elearning.mticollege.edu">elearning MTI College</a>
<br />
<a href="https://www.microsoft.com/learning/en-us/default.aspx">Microsoft Cert. Registration</a>
<br />
<a href="http://www.mticollege.edu">MTI College</a>
<br />
<a href="http://localhost/Research/index.php">Research Paper Guidelines</a> ß- Code giving me problems.
<hr />
Any help would be greatly appreciated.
Jack Boulier
Learning Resource Center Director
MTI College
5221 Madison Ave.
Sacramento, CA 95841
(916)339-4370
(916)339-0305 FAX _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tim McMahon Technical Services West Liberty Public Library