[OPEN-ILS-DEV] 2 questions on configs

Don McMorris don.mcmorris at gmail.com
Sat Feb 10 21:49:06 EST 2007


On 2/10/07, Grace Liu <gyliu86 at hotmail.com> wrote:
>
> Hi,
>
> I am still struggling on apache2 configuration. When I restart the apache2, I get 2 errors:
>
> 1. PassEnv variable PERL5LIB was undefined.
> I set PERL5LIB in ~/.bashrc:
> PERL5LIB="/openils/lib/perl5"
> But it seems wrong. How can I correct set this?

/me leaves this for Bill or Mike...

>
> 2. Invalid command 'RewriteEngine'

This could be an indication that MOD_REWRITE isn't installed.  May be
as simple as adding (or uncommenting) an "AddModule Rewrite
mod_rewrite.so" (it's been a while, so one of the guys will probably
need to correct me)

> I got the another error on Invalid command 'CacheRoot'. Then I load more perl modules: mod_cache and mod_disk_cache and fixed it (not sure if the best way to solve it).

Best way? I think it's the ONLY way ;)


However, I have no idea on 'RewriteEngine'. Not which modules should
be loaded, or use a simple way to solve, as other similar errors may
appear after this is solved.
MOD_REWRITE


>
> detail message:
> ===========
> Starting web server (apache2)...[Sat Feb 10 21:27:33 2007] [warn] module perl_module is already loaded, skipping
> [Sat Feb 10 21:27:33 2007] [warn] PassEnv variable PERL5LIB was undefined
> Syntax error on line 99 of /etc/apache2/conf/evergreen_vhost.conf:
> Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
>  failed!
>
> Thanks
> Grace
>
> _________________________________________________________________
> Personalize your Live.com homepage with the news, weather, and photos you care about.
> http://www.live.com/getstarted.aspx?icid=T001MSN30A0701


More information about the Open-ils-dev mailing list