0

_h5ai on ‎LiteSpeed Web Server

To get rid of “Javascript disabled error” when running _h5ai on LSWS, you’ve got to edit the following file:

/path_to/public_html/_h5ai/server/php/inc/class-bootstrap.php

Jump to line 72:

h5ai_litespeed01_k0nsl

As you can already tell I’ve commented out the following line:

define("APP_HREF", Util::normalize_path(dirname(dirname(dirname($script_name))), true));

You’ve got to do the same, else it won’t work on LSWS. Alas, replace the above line with the following entry:

define("APP_HREF", "/_h5ai/");

A few example sites of mine running _h5ai:
http://eh.mirror.k0nsl.org/
http://tldotbl.mirror.k0nsl.org/
https://k0nsl.org/bag/

k0nsl

k0nsl

k0nsl is a programmer, server administrator, designer, moderator, spokesman and factotum of a wide-variety of web pages. You can reach k0nsl via e-mail — i.am@k0nsl.org.

Leave a Reply

Your email address will not be published. Required fields are marked *