I have the following directives in my sites-available/default configuration:
DocumentRoot /var/www/
Alias /portal/ /var/www/drupal6/
PerlRequire "/etc/apache2/ModPerl/TE/ST.pm"
<Location /portal/>
SetHandler modperl
PerlOutputFilterHandler TE::ST
</Location>
When the SetHandler and PerlOutputFilterHandler are commented out, the
redirection from /portal to /var/www/drupal6 works correctly. However,
when the SetHandler and PerlOutputFilterHander are enabled I get the
following error messages:
[Mon Feb 16 22:43:40 2009] [error] [client 192.168.1.2] Attempt to
serve directory: /var/www/drupal6/, referer: http://10.0.0.1/portal/
[Mon Feb 16 22:43:40 2009] [error] [client 192.168.1.2] script
'/var/www/index.php' not found or unable to stat, referer:
http://10.0.0.1/portal/
Why would the SetHandler and PerlOutputFilterHandler stop the Alias
directive from working correctly?
- Roger