title: Apache2 with mod_perl, it doesn't follow symlinks; How can I fix this?
body: <p><code>mod_perl/apache</code> doesn't seem able to follow symlinks.</p>
  
  <p>In <code>httpd.conf</code> I have:</p>
  
  <pre><code>Options FollowSymLinks
  &lt;VirtualHost *&gt;
          ServerName cas.devserver.com
          ServerAlias cas.devserver.com
          ServerAdmin webmaster@devserver.com
          DocumentRoot /var/www/htdocs/abc/def
          PerlSwitches -I/var/www/cgi-bin
          PerlSendHeader On
          &lt;Location /&gt;
                  Options FollowSymLinks
                  PerlSendHeader On
                  PerlHandler Test1::Test
                  SetHandler perl-script
                  Order deny,allow
                  Allow from all
          &lt;/Location&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>If <code>/var/www/cgi-bin/Test1</code> is a directory containing <code>Test.pm</code>, then it works. If it is a symlink to the directory that contains <code>Test.pm</code> (<code>/var/www/cgi-bin/test1/</code>) then it fails:</p>
  
  <pre><code>[error] [client xxx.xxx.xxx.xxx] failed to resolve handler `Test1::Test':
        Can't locate Test1/Test.pm in @INC
        (@INC contains: /var/www/cgi-bin/ &lt;snip&gt; /usr/lib/perl5/5.8.8 . /etc/httpd)
        at (eval 9) line 3.\n
  </code></pre>
  
  <p>I've checked permissions and they seem OK.</p>
  
  <p>Thanks for any help.</p>