Dirtbag's Blog

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!