-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL.txt
27 lines (18 loc) · 872 Bytes
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=== Compiling ==
Use `make` to compile the module.
If You are on ubuntu or debian, make sure to change apxs to apxs2 in the Makefile.
If this should fail horribly, use the rudimentary compile.sh script to compile mod_pLua.
== Installing ==
Run "make install" or copy the module file to your Apache modules folder
Add the following information to your apache configuration:
#-------------------------#
<FilesMatch "\.plua$">
SetHandler plua
</FilesMatch>
#-------------------------#
If you could not install via `make install`, you should also add the following line:
#----------------------------------------------------------#
LoadModule plua_module /usr/lib/apache2/modules/mod_plua.so
#----------------------------------------------------------#
Enjoy!
For detailed information on setting up mod_pLua, see the wiki at https://sourceforge.net/p/modplua/wiki/