What's the error message in your errlog.log?

-Jie 


Please think of our environment and only print this e-mail if necessary.

* Feng He <fen...@nsbeta.info> wrote:

> Date: Wed, 19 Dec 2012 16:40:13 +0800
> From: Feng He <fen...@nsbeta.info>
> To: modperl@perl.apache.org
> Subject: alias command in modperl environment
> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0
>  Thunderbird/17.0
> 
> Hello,
> 
> <VirtualHost *:80>
>         ServerAdmin x...@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.

Reply via email to