[OPEN-ILS-DEV] 2 questions on configs

Grace Liu gyliu86 at hotmail.com
Sat Feb 10 23:05:17 EST 2007


Thanks, Don. It works. And then, the next is 'XBitHack'. ...

It should bother you too much, as another one should come after this one ...

Grace

----- Original Message ----- 
From: "Don McMorris" <don.mcmorris at gmail.com>
To: <open-ils-dev at list.georgialibraries.org>
Sent: Saturday, February 10, 2007 10:43 PM
Subject: Re: [OPEN-ILS-DEV] 2 questions on configs


> Hi Grace:
>
> I don't have access to a configuration at the moment.  One of the
> fella's internal should upload a sample config to the wiki...
>
> ExpiresByType is part of mod_expires.
>
> Let me know if/when you run across other issues.
> --Don
>
> On 2/10/07, Grace Liu <gyliu86 at hotmail.com> wrote:
>> Hi Don,
>>
>> It works when I loaded the rewrite_mod.so. Thanks. The thing is just as I
>> mentioned in the previous message, another error accurs:
>> Invalid command 'ExpiresByType', perhaps misspelled or defined by a 
>> module
>> not included in the server configuration
>>
>> If possible, could you give a list that which modules should be loaded 
>> for
>> the sample files: evergreen_vhost.conf and evergreen_vhost_ssl.conf so 
>> that
>> I can load them all and pass this step?
>>
>> Thanks
>> Grace
>>
>>
>> ----- Original Message -----
>> From: "Don McMorris" <don.mcmorris at gmail.com>
>> To: <open-ils-dev at list.georgialibraries.org>
>> Sent: Saturday, February 10, 2007 9:49 PM
>> Subject: Re: [OPEN-ILS-DEV] 2 questions on configs
>>
>>
>> > 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