perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Feng He <fen...@nsbeta.info>
Subject alias command in modperl environment
Date Wed, 19 Dec 2012 08:40:13 GMT
Hello,

<VirtualHost *:80>
         ServerAdmin xxx@yyy.com
         ServerName example.com

         PerlModule Apache::DBI
         PerlPostConfigRequire /path/to/startup.pl

         <Location />
             SetHandler modperl
             PerlResponseHandler Handler1
         </Location>

         <Location /ip/>
             SetHandler modperl
             PerlResponseHandler Handler2
         </Location>

         Alias /zzz/ "/var/www/zzz/"
         <Directory /var/www/zzz/>
                 Options FollowSymLinks MultiViews
                 AllowOverride None
                 Order allow,deny
                 allow from all
         </Directory>

         ErrorLog /var/log/apache2/error.log
         LogLevel warn
         CustomLog /var/log/apache2/cdn.access.log combined

</VirtualHost>


I put some static files under /var/www/zzz/.
When accessing these static files, I got 403 error.
Can't alias command work for this case?

Thanks.

Mime
View raw message