[cgiapp] Re: CGI::Application::Dispatch help

Michael Peters mpeters at plusthree.com
Mon Jan 19 14:38:31 EST 2009


fREW Schmidt wrote:

> #{{{ Aircraft Ducting
> <VirtualHost *:8080>
>    ErrorLog "C:/Documents and Settings/frew/My
> Documents/Code/aircraft_ducting/logs/error.log"
>    <Perl>
>       use lib 'C:/Documents and Settings/frew/My
> Documents/Code/aircraft_ducting';
>       $ENV{MODE} = 'development';
>    </Perl>
>     ScriptAlias / "C:/Documents and Settings/frew/My
> Documents/Code/aircraft_ducting"
>     DocumentRoot "C:/Documents and Settings/frew/My
> Documents/Code/aircraft_ducting"
>    <Location  />
>       SetHandler perl-script
>       PerlHandler ACD::Dispatch
>        Order allow,deny
>        Allow from all
>    </Location>
> </VirtualHost>
> #}}}
> 
> I think the Location probably tramples the DocumentRoot and
> ScriptAlias directives.

Maybe not. What happens if you change them. Also, why are you using a DocumentRoot or ScriptAlias 
directive when you're handling everything under '/' with that Location?

-- 
Michael Peters
Plus Three, LP



More information about the cgiapp mailing list