Dirtbag's Blog

Installing mod_security on gentoo

[ link: mod_security | tags: gentoo apache | updated: Fri, 17 Apr 2020 12:12:08 -0400 ]

I was installing mod_security on my gentoo box and was getting "ModSecurity does not support content encodings" error.

[Read More]

Getting Apache Tomcat 5.5.X to start/stop correctly

[ link: tomcat_start_stop | tags: linux apache tomcat | updated: Fri, 17 Apr 2020 12:12:08 -0400 ]

I just installed apache-tomcat-5.5.25 on a redhat linux box from source with all the default settings, the tomcat server will start via the init script, but it will not shutdown for me.

[Read More]

appropriate Inline DIRECTORY

[ link: inline_directory | tags: perl linux apache | updated: Fri, 17 Apr 2020 12:12:08 -0400 ]

I was installing this vimblog software and ran into an issue where I was getting the following error in my apache httpd error logs.
[error] [client X.X.X.X] Couldn't find an appropriate DIRECTORY for Inline to use.

I was able to fix this by inserting the following into the "blog.pl" before the use statements.


BEGIN {
        $ENV{'PERL\_INLINE\_DIRECTORY'} = '/var/www/localhost/htdocs/blog/.data';
      }

This tells perl_inline where to write its compiled data. This directory must be owned by the user your webserver is running as.

-db

Like this article? Buy me a beer!