Re: alias command in modperl environment

Jie Gao <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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 <[email protected]> wrote:

> Date: Wed, 19 Dec 2012 16:40:13 +0800
> From: Feng He <[email protected]>
> To: [email protected]
> 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 [email protected]
>         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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.