> This test works well with the AllowOverride line in the config for Apache 2.2 
> and without it for Apache 2.0. For 2.0 the Options=... prevents httpd from 
> starting up.

ok

> 
> The question is, where do I apply your -defines trick, since mod_perl itself 
> has no t/TEST.PL (TEST.PL are only in Apache-Test and ModPerl-Registry).

actually, I think I have a better solution.

  <IfModule mod_version>
     <IfVersion >= 2.2.0>
       AllowOverride AuthConfig Options=Indexes,FollowSymLinks
     </IfVersion>
     <IfVersion < 2.2.0>
       Options None
       Options Indexes FollowSymLinks
     </IfVersion>
  </IfModule>
  <IfModule ! mod_version>
     # no mod_version so we can't be 2.2 or greater...
     Options None
     Options Indexes FollowSymLinks
  </IfModule>

or somesuch.

--Geoff

Reply via email to