Thanks Brian.  That worked out great!

Best,
Clay

On Thu, 2008-03-20 at 11:01 -0700, Brian Rectanus wrote:
You need to build Lua with a dynamic lib.  Unfortunatly there are no
instructions to do this from Lua :(  You can (and I recommend it) just
using the binaries from lua.org that have already done this.  BTW, Lua
is not required, so you can just configure with --without-lua if you want.

-B

Clayton Dillard wrote:
> Brian,
>     Thank you for correcting me on that.  I've fixed the typo and after
> following the installation instructions I ended up with LUA that did not
> contain a liblua5.1.so but a liblua5.1.a and when attempting to start
> Apache I get:
> 
> Starting httpd: httpd: Syntax error on line 228 of
> /etc/httpd/conf/httpd.conf: Cannot load /usr/local/lib/liblua.a into
> server: /usr/local/lib/liblua.a: invalid ELF header
> 
> - Clay
> 
> On Wed, 2008-03-19 at 22:59 -0700, Brian Rectanus wrote:
>> Clayton Dillard wrote:
>> > I'm unable to start Apache now that I've added the line to httpd.conf 
>> > for mod_security.  Can someone point me in the right direction?
>> > 
>> > Thanks,
>> > Clay
>> > 
>> >  >From httpd.conf
>> > LoadModule mod_security modules/mod_security2.so
>> > 
>> > Error message:
>> > Starting httpd: httpd: Syntax error on line 227 of 
>> > /etc/httpd/conf/httpd.conf: Can't locate API module structure 
>> > `mod_security' in file /etc/httpd/modules/mod_security2.so: 
>> > /etc/httpd/modules/mod_security2.so: undefined symbol: mod_security
>> > 
>>
>> Looks like you have a typo on that line:
>>
>> LoadModule security2_module modules/mod_security2.so
>>
>>
>> See 
>> http://modsecurity.org/documentation/modsecurity-apache/2.5.1/modsecurity2-apache-reference.html#installation
>>
>> thanks,
>> -B
> 
> 
> */Clayton Taylor Dillard/*
> 
> http://hspcd.blogspot.com/
> 




Clayton Taylor Dillard

http://hspcd.blogspot.com/