7 May 21:38
Fwd: Slight Issue installing mod_security
From: Joel Joyner <joel.joyner <at> uniserveteam.com>
Subject: Fwd: Slight Issue installing mod_security
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-05-07 19:38:22 GMT
Subject: Fwd: Slight Issue installing mod_security
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-05-07 19:38:22 GMT
Hello everyone. I'm attempting to follow along with the instructions at : http://www.modsecurity.org/documentation/modsecurity-apache/2.5.2/html-multipage/installation.html to install mod_security. I am installing this on CentOS 4.6 server with Plesk for Linux 8.3 installed. I have libxml2 already installed, and lua 5.1.3 installed via source code. Lua was installed by running 'make linux' then 'make install' in the directory created by extracting the "lua-5.1.3.tar.gz" archive file. "make install" gave me this output: cd src && mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1 /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1 cd src && install -p -m 0755 lua luac /usr/local/bin cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp /usr/local/include cd src && install -p -m 0644 liblua.a /usr/local/lib cd doc && install -p -m 0644 lua.1 luac.1 /usr/local/man/man1 I then extracted and successfully installed mod_security, including 'make test'. Later in the instructions, it says: 8. Edit the main Apache httpd config file (usually httpd.conf) On UNIX (and Windows if you did not copy the DLLs as stated above) you must load libxml2 and lua5.1 before ModSecurity with something like this: LoadFile /usr/lib/libxml2.so LoadFile /usr/lib/liblua5.1.so However, the file "/usr/lib/liblua5.1.so" does not exist. I also could not find "/usr/local/lib/liblua5.1.so", nor "/lib/liblua5.1.so". I then searched for anything matching *lua* in /lib , /usr/lib , and /usr/local/lib , and only found /usr/local/lib/liblua.a . There is also a directory /usr/local/lib/lua/5.1 , but it is empty. Am I supposed to use "LoadFile /usr/local/lib/liblua.a" or is my install of lua screwed up or ... ? Thanks. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
RSS Feed